Nearest Neighbors Classification
  • References/Python/scikit-learn/Examples/Nearest Neighbors

Sample usage of Nearest Neighbors classification. It will plot the decision boundaries for each class.

2025-01-10 15:47:30
Orthogonal Matching Pursuit
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Using orthogonal matching pursuit for recovering a sparse signal from a noisy measurement encoded with a dictionary print(__doc__)

2025-01-10 15:47:30
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
Gaussian Mixture Model Sine Curve
  • References/Python/scikit-learn/Examples/Gaussian Mixture Models

This example demonstrates the behavior of Gaussian mixture models fit on data that was not sampled from a mixture of Gaussian random variables. The dataset

2025-01-10 15:47:30
Discrete versus Real AdaBoost
  • References/Python/scikit-learn/Examples/Ensemble methods

This example is based on Figure 10.2 from Hastie et al 2009 [1] and illustrates the difference in performance between the discrete SAMME [2] boosting algorithm

2025-01-10 15:47:30
Cross-validation on Digits Dataset Exercise
  • References/Python/scikit-learn/Examples/Tutorial exercises

A tutorial exercise using Cross-validation with an SVM on the Digits dataset. This exercise is used in the

2025-01-10 15:47:30
Scalability of Approximate Nearest Neighbors
  • References/Python/scikit-learn/Examples/Nearest Neighbors

This example studies the scalability profile of approximate 10-neighbors queries using the LSHForest with n_estimators=20 and

2025-01-10 15:47:30
Online learning of a dictionary of parts of faces
  • References/Python/scikit-learn/Examples/Clustering

This example uses a large dataset of faces to learn a set of 20 x 20 images patches that constitute faces. From the programming standpoint

2025-01-10 15:47:30
Plot Ridge coefficients as a function of the L2 regularization
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Ridge Regression is the estimator used in this example. Each color in the left plot represents one different dimension of the coefficient vector, and this is displayed as a function of the regularization parameter. The right plot shows how exact the solution is. This example illustrates how a well defined solution is found by Ridge regression and how regularization affects the coefficients and their values. The plot on the right shows how the difference of the coefficients from the estimator c

2025-01-10 15:47:30
Sparse inverse covariance estimation
  • References/Python/scikit-learn/Examples/Covariance estimation

Using the GraphLasso estimator to learn a covariance and sparse precision from a small number of samples. To estimate a probabilistic model (e.g

2025-01-10 15:47:30