Lasso path using LARS
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Computes Lasso Path along the regularization parameter using the LARS algorithm on the diabetes dataset. Each color represents a different feature of the coefficient vector

2025-01-10 15:47:30
SVM: Separating hyperplane for unbalanced classes
  • References/Python/scikit-learn/Examples/Support Vector Machines

Find the optimal separating hyperplane using an SVC for classes that are unbalanced. We first find the separating plane with a plain

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
Robust Scaling on Toy Data
  • References/Python/scikit-learn/Examples/Preprocessing

Making sure that each Feature has approximately the same scale can be a crucial preprocessing step. However, when data contains outliers,

2025-01-10 15:47:30
The Digit Dataset
  • References/Python/scikit-learn/Examples/Dataset examples

This dataset is made up of 1797 8x8 images. Each image, like the one shown below, is of a hand-written digit. In order to utilize an 8x8 figure like this, we?d have to first

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
Hashing feature transformation using Totally Random Trees
  • References/Python/scikit-learn/Examples/Ensemble methods

RandomTreesEmbedding provides a way to map data to a very high-dimensional, sparse representation, which might be beneficial for classification

2025-01-10 15:47:30
Robust linear model estimation using RANSAC
  • References/Python/scikit-learn/Examples/Generalized Linear Models

In this example we see how to robustly fit a linear model to faulty data using the RANSAC algorithm.

2025-01-10 15:47:30
Pipelining
  • References/Python/scikit-learn/Examples/General examples

The PCA does an unsupervised dimensionality reduction, while the logistic regression does the prediction. We use a GridSearchCV to

2025-01-10 15:47:30
SGD: Penalties
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Plot the contours of the three penalties. All of the above are supported by sklearn.linear_model.stochastic_gradient.

2025-01-10 15:47:30