Plot Ridge coefficients as a function of the L2 regularization

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

2017-01-15 04:25:00
SGD: convex loss functions

A plot that compares the various convex loss functions supported by

2017-01-15 04:25:28
Lasso path using LARS

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

2017-01-15 04:23:10
Orthogonal Matching Pursuit

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

2017-01-15 04:24:51
Robust linear model estimation using RANSAC

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

2017-01-15 04:25:22
Automatic Relevance Determination Regression

Fit regression model with Bayesian Ridge Regression. See

2017-01-15 04:20:31
Comparing various online solvers

An example showing how different online solvers perform on the hand-written digits dataset.

2017-01-15 04:20:48
Joint feature selection with multi-task Lasso

The multi-task lasso allows to fit multiple regression problems jointly enforcing the selected features to be the same across tasks. This example

2017-01-15 04:22:58
SGD: Penalties

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

2017-01-15 04:25:28
Lasso and Elastic Net for Sparse Signals

Estimates Lasso and Elastic-Net regression models on a manually generated sparse signal corrupted with an additive noise. Estimated coefficients are

2017-01-15 04:23:08