Density Estimation for a Gaussian mixture
  • References/Python/scikit-learn/Examples/Gaussian Mixture Models

Plot the density estimation of a mixture of two Gaussians. Data is generated from two Gaussians with different centers and covariance matrices.

2025-01-10 15:47:30
Feature transformations with ensembles of trees
  • References/Python/scikit-learn/Examples/Ensemble methods

Transform your features into a higher dimensional, sparse space. Then train a linear model on these features. First fit an ensemble of

2025-01-10 15:47:30
Concatenating multiple feature extraction methods
  • References/Python/scikit-learn/Examples/General examples

In many real-world examples, there are many ways to extract features from a dataset. Often it is beneficial to combine several methods to obtain

2025-01-10 15:47:30
SVM Exercise
  • References/Python/scikit-learn/Examples/Tutorial exercises

A tutorial exercise for using different SVM kernels. This exercise is used in the

2025-01-10 15:47:30
Comparison of LDA and PCA 2D projection of Iris dataset
  • References/Python/scikit-learn/Examples/Decomposition

The Iris dataset represents 3 kind of Iris flowers (Setosa, Versicolour and Virginica) with 4 attributes: sepal length, sepal width,

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

Features 1 and 2 of the diabetes-dataset are fitted and plotted below. It illustrates that although feature 2 has a strong coefficient on the

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

This data sets consists of 3 different types of irises? (Setosa, Versicolour, and Virginica) petal and sepal length, stored in a 150x4 numpy.ndarray The rows being the

2025-01-10 15:47:30
Probability Calibration for 3-class classification
  • References/Python/scikit-learn/Examples/Calibration

This example illustrates how sigmoid calibration changes predicted probabilities for a 3-class classification problem. Illustrated is the

2025-01-10 15:47:30
Understanding the decision tree structure
  • References/Python/scikit-learn/Examples/Decision Trees

The decision tree structure can be analysed to gain further insight on the relation between the features and the target to predict. In this example

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