Model Selection¶
Examples related to the sklearn.model_selection
module.
![Balance model complexity and cross-validated score](../../_images/sphx_glr_plot_grid_search_refit_callable_thumb.png)
Balance model complexity and cross-validated score
![Comparing randomized search and grid search for hyperparameter estimation](../../_images/sphx_glr_plot_randomized_search_thumb.png)
Comparing randomized search and grid search for hyperparameter estimation
![Comparison between grid search and successive halving](../../_images/sphx_glr_plot_successive_halving_heatmap_thumb.png)
Comparison between grid search and successive halving
![Custom refit strategy of a grid search with cross-validation](../../_images/sphx_glr_plot_grid_search_digits_thumb.png)
Custom refit strategy of a grid search with cross-validation
![Demonstration of multi-metric evaluation on cross_val_score and GridSearchCV](../../_images/sphx_glr_plot_multi_metric_evaluation_thumb.png)
Demonstration of multi-metric evaluation on cross_val_score and GridSearchCV
![Receiver Operating Characteristic (ROC) with cross validation](../../_images/sphx_glr_plot_roc_crossval_thumb.png)
Receiver Operating Characteristic (ROC) with cross validation
![Sample pipeline for text feature extraction and evaluation](../../_images/sphx_glr_grid_search_text_feature_extraction_thumb.png)
Sample pipeline for text feature extraction and evaluation
![Statistical comparison of models using grid search](../../_images/sphx_glr_plot_grid_search_stats_thumb.png)
Statistical comparison of models using grid search
![Test with permutations the significance of a classification score](../../_images/sphx_glr_plot_permutation_tests_for_classification_thumb.png)
Test with permutations the significance of a classification score
![Visualizing cross-validation behavior in scikit-learn](../../_images/sphx_glr_plot_cv_indices_thumb.png)
Visualizing cross-validation behavior in scikit-learn