Repository navigation
DOC clearer what's new for model_selection - #5587
Conversation
d8be3a7 to
108d36a
Compare
|
Merging, thanks Joel |
DOC clearer what's new for model_selection
|
By the way, do we have an example with nested cross-validation? (which is said to be easier in the changelog) |
|
I had considered that at some point, and |
|
I will make one... Could you guide me on what kind of problem I should use nested cv on? (Please let me know if you have any sample dataset/(preferably multi-label) classification problem in mind that would best illustrate nested cv's effectiveness at generalizing which otherwise would not be known?) |
|
A typical use case of nested cross validation is to use cross-validation for evaluation and for hyper-parameter estimation. So split the entire dataset into train / test, then further split train into training and validation sets. |
|
@mblondel Thanks could you elaborate a bit more on the classification problem or dataset... One problem I thought of using for my blog post was - GridSearch against the optimal k in kNN classifier using an artificial dataset (please let me know if there are any exiting label based datasets that this example can use instead) consisting of We can show how for a bad choice of k without nested cv (using kfolds outsite and LOLO inside) we got a biased estimate and with one we can get a more unbiased estimate which helps us improve our choice (or range of k) Is this a good problem for the example? (please feel free to modify the above to use a different clf / data / technique) |
|
@rvraghav93 I am not sure I would add another level of complexity by having labels. |
|
Okay :) |
|
Nested cross-validation was possible before, but not when providing a custom |
Other notes:
grid_searchandcross_validationsay they will be removed in 0.19. This seems short for such established modules.