Examples¶
General examples¶
General-purpose and introductory examples for the scikit.
- Classification of text documents using sparse features
- Pipeline Anova SVM
- Parameter estimation using grid search with a nested cross-validation
- Sample pipeline for text feature extraction and evaluation
- Logistic Regression
- Classification of text documents: using a MLComp dataset
- Gaussian Naive Bayes
- Plot classification probability
- Confusion matrix
- Ledoit-Wolf vs Covariance simple estimation
- Recognizing hand-written digits
- Univariate Feature Selection
- Blind source separation using FastICA
- FastICA on 2D point clouds
- Linear Discriminant Analysis & Quadratic Discriminant Analysis with confidence
- Linear and Quadratic Discriminant Analysis with confidence ellipsoid
- Nearest Neighbors
- k-Nearest Neighbors regression
- PCA 2D projection of Iris dataset
- Test with permutations the significance of a classification score
- Precision-Recall
- Recursive feature elimination
- Recursive feature elimination with cross-validation
- Receiver operating characteristic (ROC)
- Receiver operating characteristic (ROC) with cross validation
- Train error vs Test error
Examples based on real world datasets¶
Applications to real world problems with some medium sized datasets or interactive user interface.
Clustering¶
Examples concerning the scikits.learn.cluster package.
Gaussian Process for Machine Learning¶
Examples concerning the scikits.learn.gaussian_process package.
Generalized Linear Models¶
Examples concerning the scikits.learn.linear_model package.
- Lasso regression example
- Lasso on dense and sparse data
- Lasso parameter estimation with path and cross-validation
- Automatic Relevance Determination Regression (ARD)
- Bayesian Ridge Regression
- Lasso and Elastic Net
- Lasso path using LARS
- Cross validated Lasso path with coordinate descent
- Path with L1- Logistic Regression
- Ordinary Least Squares
- Plot multi-class SGD on the iris dataset
- SGD: Convex Loss Functions
- Ordinary Least Squares with SGD
- SGD: Penalties
- SGD: Maximum margin separating hyperplane
- SGD: Separating hyperplane with weighted classes
Gaussian Mixture Models¶
Examples concerning the scikits.learn.mixture package.
Support Vector Machines¶
Examples concerning the scikits.learn.svm package.
- SVM with custom kernel
- Plot different SVM classifiers in the iris dataset
- One-class SVM with non-linear kernel (RBF)
- SVM: Maximum margin separating hyperplane
- SVM-Anova: SVM with univariate feature selection
- Non-linear SVM
- Support Vector Regression (SVR) using linear and non-linear kernels
- SVM: Separating hyperplane with weighted classes
- SVM: Weighted samples