Train error vs Test error
  • References/Python/scikit-learn/Examples/Model Selection

Illustration of how the performance of an estimator on unseen data (test data) is not the same as the performance on training data. As the regularization increases

2025-01-10 15:47:30
Underfitting vs.
  • References/Python/scikit-learn/Examples/Model Selection

This example demonstrates the problems of underfitting and overfitting and how we can use linear regression with polynomial features to approximate nonlinear functions

2025-01-10 15:47:30
Receiver Operating Characteristic with cross validation
  • References/Python/scikit-learn/Examples/Model Selection

Example of Receiver Operating Characteristic (ROC) metric to evaluate classifier output quality using cross-validation. ROC

2025-01-10 15:47:30
Nested versus non-nested cross-validation
  • References/Python/scikit-learn/Examples/Model Selection

This example compares non-nested and nested cross-validation strategies on a classifier of the iris data set. Nested cross-validation (CV) is often

2025-01-10 15:47:30
Receiver Operating Characteristic
  • References/Python/scikit-learn/Examples/Model Selection

Example of Receiver Operating Characteristic (ROC) metric to evaluate classifier output quality. ROC curves typically feature true positive rate

2025-01-10 15:47:30
Plotting Validation Curves
  • References/Python/scikit-learn/Examples/Model Selection

In this plot you can see the training scores and validation scores of an SVM for different values of the kernel parameter gamma. For very low values of gamma, you

2025-01-10 15:47:30
Plotting Learning Curves
  • References/Python/scikit-learn/Examples/Model Selection

On the left side the learning curve of a naive Bayes classifier is shown for the digits dataset. Note that the training score and the cross-validation score are both

2025-01-10 15:47:30
Parameter estimation using grid search with cross-validation
  • References/Python/scikit-learn/Examples/Model Selection

This examples shows how a classifier is optimized by cross-validation, which is done using the

2025-01-10 15:47:30
Comparing randomized search and grid search for hyperparameter estimation
  • References/Python/scikit-learn/Examples/Model Selection

Compare randomized search and grid search for optimizing hyperparameters of a random forest. All parameters that influence

2025-01-10 15:47:30
Sample pipeline for text feature extraction and evaluation
  • References/Python/scikit-learn/Examples/Model Selection

The dataset used in this example is the 20 newsgroups dataset which will be automatically downloaded and then cached and reused for

2025-01-10 15:47:30