Gradient Boosting regularization
  • References/Python/scikit-learn/Examples/Ensemble methods

Illustration of the effect of different regularization strategies for Gradient Boosting. The example is taken from Hastie et al 2009. The loss function

2025-01-10 15:47:30
Demonstration of k-means assumptions
  • References/Python/scikit-learn/Examples/Clustering

This example is meant to illustrate situations where k-means will produce unintuitive and possibly unexpected clusters. In the first three plots, the input

2025-01-10 15:47:30
Plotting Validation Curves
  • References/Python/scikit-learn/Examples/Model Selection

In this plot you can see the training scores and validation scores of an SVM for different values of the kernel parameter gamma. For very low values of gamma, you

2025-01-10 15:47:30
Normal and Shrinkage Linear Discriminant Analysis for classification
  • References/Python/scikit-learn/Examples/Classification

Shows how shrinkage improves classification.

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

Given a small number of observations, we want to recover which features of X are relevant to explain y. For this

2025-01-10 15:47:30
HuberRegressor vs Ridge on dataset with strong outliers
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Fit Ridge and HuberRegressor on a dataset with outliers. The example shows that the predictions in ridge are strongly influenced

2025-01-10 15:47:30
Ordinary Least Squares and Ridge Regression Variance
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Due to the few points in each dimension and the straight line that linear regression uses to follow these points as well as it can, noise

2025-01-10 15:47:30
Robust covariance estimation and Mahalanobis distances relevance
  • References/Python/scikit-learn/Examples/Covariance estimation

An example to show covariance estimation with the Mahalanobis distances on Gaussian distributed data. For Gaussian distributed

2025-01-10 15:47:30
Receiver Operating Characteristic
  • References/Python/scikit-learn/Examples/Model Selection

Example of Receiver Operating Characteristic (ROC) metric to evaluate classifier output quality. ROC curves typically feature true positive rate

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

When working with covariance estimation, the usual approach is to use a maximum likelihood estimator, such as the

2025-01-10 15:47:30