O'Reilly logo

Effective Amazon Machine Learning by Alexis Perrier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating the evaluations template

In the case of a model with L2 regularization, the evaluation template is as follows:

{   "EvaluationId": "CH8_AH_L2_00{k}",   "EvaluationName": "[EVL AH L2] 00{k}",   "MLModelId": "CH8_AH_L2_00{k}",   "EvaluationDataSourceId": "CH8_AH_evaluate_00{k}"}

And for a model with L1 regularization, the evaluation template is as follows:

{   "EvaluationId": "CH8_AH_L1_00{k}",   "EvaluationName": "[EVL AH L1] 00{k}",   "MLModelId": "CH8_AH_L1_00{k}",   "EvaluationDataSourceId": "CH8_AH_evaluate_00{k}"}

Save these files to eval_l2_template.json and eval_l1_template.json espectively.

We will now use these template files to generate the different configuration files for the datasources, models, and evaluations. To keep things ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required