Quick Facts¶
Due: 2023-11-13
Submission Instructions¶
Create one notebook for this assignment,
auditsExport as myst markdown (by installing jupytext which should include frontend features )
Upload (or push) to a branch called
assignment6Open a PR
Instructions¶
summary Extend the work you did in assignment 5 by optimizing the model parameters for the (or one of the if you worked alone) model you trained.
Choose your dataset, task, and a model[1]. It can be any model we have used in class so far. Include a breif description of the task[2].
Fit the model with default parameters and check the score. Interpret the score in context.[3]
Choose reasonable model parameter values for your parameter grid by assessing how well the model fit with the default values.
Use grid search to find the best performing model parameters.
Examine the best fit model, how different is it from the default? Score the best fit model on a held out test set.
Examine and interpret the cross validation results. How do they vary in terms of time? Is the performance meaningfully different or just a little?
Try varying the cross validation parameters (eg the number of folds and/or type of cross validation). Does this change your conclusions?
if the model you used in Assignment 5 model does not have hyperparameters to optimize, swap in a different model. For example, use
LASSOinstead ofLinearRegressionorDecisionTreeClassifier instead ofGaussianNaiveBayes`. You should be able to copy your previous training and only change a single line to accomodate for this.this can be copied from 5 if applicable or revised if you think it was vague
again, can be reused, but please do copy it in