Build a Rocks versus Mines Classifier for Deployment

CODE

  • Listing 5-5: Coefficient Trajectories for ElasticNet Trained on Rocks versus Mines Data— rocksVMinesCoefCurves.py
    • Figure 5-10: Coefficient curves for ElasticNet trained on rocks versus mines data
  • Listing 5-6: Penalized Logistic Regression Trained on Rocks versus Mines Data— rocksVMinesGlmnet.py
    • Figure 5-11: Coefficient curves for ElasticNet penalized logistic regression trained on rocks versus mines data