I have a question regarding learning a "final" model for deployment. Assuming my task is a classification one, my workflow during experimentation is as follows.
- Get the data:
X, y - Split the data:
X_tr, y_tr(training),X_tu, y_tu(tuning) andX_te, y_te(testing) - Learn the model
Mand hyperparametersHonX_tr, y_trandX_tu, y_tu - Validate the performance
PusingMonX_te, y_te
Assuming my experimental performance is great, now I am ready to deploy the model. What do I do at this point? Here is what I have thought of.
- Learn a new model
M_pon all the dataX, yusing the hyperparametersHfrom experimentation. Simply deployM_p. - Learn a new model
M_pand hyperparametersH_pusingX, y.