Feature selection using SelectFromModel and LassoCV
  • References/Python/scikit-learn/Examples/Feature Selection

Use SelectFromModel meta-transformer along with Lasso to select the best couple of features from the Boston dataset.

2025-01-10 15:47:30
Plot classification probability
  • References/Python/scikit-learn/Examples/Classification

Plot the classification probability for different classifiers. We use a 3 class dataset, and we classify it with a Support Vector classifier, L1 and L2 penalized

2025-01-10 15:47:30
Faces recognition example using eigenfaces and SVMs
  • References/Python/scikit-learn/Examples/Examples based on real world datasets

The dataset used in this example is a preprocessed excerpt of the ?Labeled Faces in the Wild?, aka

2025-01-10 15:47:30
Pixel importances with a parallel forest of trees
  • References/Python/scikit-learn/Examples/Ensemble methods

This example shows the use of forests of trees to evaluate the importance of the pixels in an image classification task (faces). The hotter

2025-01-10 15:47:30
Test with permutations the significance of a classification score
  • References/Python/scikit-learn/Examples/Feature Selection

In order to test if a classification score is significative a technique in repeating the classification procedure after randomizing

2025-01-10 15:47:30
Plot Ridge coefficients as a function of the regularization
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Shows the effect of collinearity in the coefficients of an estimator.

2025-01-10 15:47:30
Various Agglomerative Clustering on a 2D embedding of digits
  • References/Python/scikit-learn/Examples/Clustering

An illustration of various linkage option for agglomerative clustering on a 2D embedding of the digits dataset. The goal

2025-01-10 15:47:30
Visualization of MLP weights on MNIST
  • References/Python/scikit-learn/Examples/Neural Networks

Sometimes looking at the learned coefficients of a neural network can provide insight into the learning behavior. For example if weights look unstructured

2025-01-10 15:47:30
Gaussian Mixture Model Ellipsoids
  • References/Python/scikit-learn/Examples/Gaussian Mixture Models

Plot the confidence ellipsoids of a mixture of two Gaussians obtained with Expectation Maximisation (GaussianMixture class) and Variational Inference

2025-01-10 15:47:30
Nested versus non-nested cross-validation
  • References/Python/scikit-learn/Examples/Model Selection

This example compares non-nested and nested cross-validation strategies on a classifier of the iris data set. Nested cross-validation (CV) is often

2025-01-10 15:47:30