Polynomial interpolation
  • References/Python/scikit-learn/Examples/Generalized Linear Models

This example demonstrates how to approximate a function with a polynomial of degree n_degree by using ridge regression. Concretely, from n_samples 1d points, it suffices

2025-01-10 15:47:30
Kernel PCA
  • References/Python/scikit-learn/Examples/Decomposition

This example shows that Kernel PCA is able to find a projection of the data that makes data linearly separable.

2025-01-10 15:47:30
Logistic Regression 3-class Classifier
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Show below is a logistic-regression classifiers decision boundaries on the

2025-01-10 15:47:30
Classification of text documents using sparse features
  • References/Python/scikit-learn/Examples/Working with text documents

This is an example showing how scikit-learn can be used to classify documents by topics using a bag-of-words approach. This example uses

2025-01-10 15:47:30
Recursive feature elimination
  • References/Python/scikit-learn/Examples/Feature Selection

A recursive feature elimination example showing the relevance of pixels in a digit classification task.

2025-01-10 15:47:30
Comparison of the K-Means and MiniBatchKMeans clustering algorithms
  • References/Python/scikit-learn/Examples/Clustering

We want to compare the performance of the MiniBatchKMeans and KMeans: the MiniBatchKMeans is faster, but gives slightly different

2025-01-10 15:47:30
Vector Quantization Example
  • References/Python/scikit-learn/Examples/Clustering

Face, a 1024 x 768 size image of a raccoon face, is used here to illustrate how k-means is used for vector quantization.

2025-01-10 15:47:30
Robust linear estimator fitting
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Here a sine function is fit with a polynomial of order 3, for values close to zero. Robust fitting is demoed in different situations: No

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

On the left side the learning curve of a naive Bayes classifier is shown for the digits dataset. Note that the training score and the cross-validation score are both

2025-01-10 15:47:30
SGD: Weighted samples
  • References/Python/scikit-learn/Examples/Generalized Linear Models

Plot decision function of a weighted dataset, where the size of points is proportional to its weight.

2025-01-10 15:47:30