Implementing Monte Carlo cross-validation

We will now implement a Monte Carlo cross-validation strategy with five trials using shell commands and AWS CLI. And we will use this evaluation method to compare two models, one with L2 mild regularization and the second with L1 heavy regularization on the Ames Housing dataset. Cross-validation will allow us to conclude with some level of confidence which model performs better.

Get Effective Amazon Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.