Skip to content

Conversation

@ArturoAmorQ
Copy link
Collaborator

Closes #444

Though in almost all of the notebooks we score the presented model somehow, there are some exceptions:

On the same line of thought, ensemble_hyperparameters.py computes cv scores for parameter tuning but it doesn't pass the best parameters to a final test-set scoring.

Plotting a validation curve using the train set but no further scoring on the test-set (as in Solution for Exercise M6.03 and Solution for Exercise M6.04) is discussed in this forum post. The former is not addressed in this PR as the AdaBoost notebook will be fixed elsewhere, the latter was solved by computing asking the student to score the model with n_iter_no_change=5.

Copy link
Collaborator

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks good

Copy link
Collaborator

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

@ArturoAmorQ
Copy link
Collaborator Author

Comments addressed, thanks!

Copy link
Collaborator

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are conflicts to solve and in general I think we should add an analysis of the new test scores.

Copy link
Collaborator

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this PR should be split because python_scripts/trees_hyperparameters.py needs more work as explained below while the rest should be good to go with the following small suggestion.

@glemaitre glemaitre self-assigned this Jan 6, 2022
@glemaitre glemaitre merged commit 2fc9dd3 into INRIA:master Jan 6, 2022
github-actions bot pushed a commit that referenced this pull request Jan 6, 2022
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com> 2fc9dd3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scoring model as a good practice

3 participants