Exercise

Finalizing the model

It is time to implement the results of your tuning work and impress the Human Resources team. You can finalize your model with the optimal penalty identified and see if it meets your expectations. Your results have been loaded, and the user-defined function class_evaluate() is available in your environment.

Instructions

100 XP
  • Select the optimal penalty for the Lasso.
  • Fit a final model using the optimal penalty.