Plot the decision surfaces of ensembles of trees on the iris dataset
  • References/Python/scikit-learn/Examples/Ensemble methods

Plot the decision surfaces of forests of randomized trees trained on pairs of features of the iris dataset. This

2025-01-10 15:47:30
Confusion matrix
  • References/Python/scikit-learn/Examples/Model Selection

Example of confusion matrix usage to evaluate the quality of the output of a classifier on the iris data set. The diagonal elements represent the number of points for which

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
Bayesian Ridge Regression
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Computes a Bayesian Ridge Regression on a synthetic dataset. See

2025-01-10 15:47:30
Robust vs Empirical covariance estimate
  • References/Python/scikit-learn/Examples/Covariance estimation

The usual covariance maximum likelihood estimate is very sensitive to the presence of outliers in the data set. In such a case, it would be better to

2025-01-10 15:47:30
Lasso and Elastic Net
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Lasso and elastic net (L1 and L2 penalisation) implemented using a coordinate descent. The coefficients can be forced to be positive.

2025-01-10 15:47:30
Scaling the regularization parameter for SVCs
  • References/Python/scikit-learn/Examples/Support Vector Machines

The following example illustrates the effect of scaling the regularization parameter when using

2025-01-10 15:47:30
Selecting dimensionality reduction with Pipeline and GridSearchCV
  • References/Python/scikit-learn/Examples/General examples

This example constructs a pipeline that does dimensionality reduction followed by prediction with a support vector classifier

2025-01-10 15:47:30
Comparison of kernel ridge regression and SVR
  • References/Python/scikit-learn/Examples/General examples

Both kernel ridge regression (KRR) and SVR learn a non-linear function by employing the kernel trick, i.e., they learn a linear function in the

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

An illustration of the isotonic regression on generated data. The isotonic regression finds a non-decreasing approximation of a function while minimizing the mean squared

2025-01-10 15:47:30