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
FeatureHasher and DictVectorizer Comparison
  • References/Python/scikit-learn/Examples/Working with text documents

Compares FeatureHasher and DictVectorizer by using both to vectorize text documents. The example demonstrates syntax and speed only; it doesn

2025-01-10 15:47:30
Plot randomly generated classification dataset
  • References/Python/scikit-learn/Examples/Dataset examples

Plot several randomly generated 2D classification datasets. This example illustrates the datasets.make_classification datasets

2025-01-10 15:47:30
Recognizing hand-written digits
  • References/Python/scikit-learn/Examples/Classification

An example showing how the scikit-learn can be used to recognize images of hand-written digits. This example is commented in the

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
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
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
Comparison of Manifold Learning methods
  • References/Python/scikit-learn/Examples/Manifold learning

An illustration of dimensionality reduction on the S-curve dataset with various manifold learning methods. For a discussion and comparison of

2025-01-10 15:47:30
Selecting the number of clusters with silhouette analysis on KMeans clustering
  • References/Python/scikit-learn/Examples/Clustering

Silhouette analysis can be used to study the separation distance between the resulting clusters. The silhouette

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