Computation times
26:16.525 total execution time for 281 files from all galleries:
Example | Time | Mem (MB) |
|---|---|---|
Comparing randomized search and grid search for hyperparameter estimation ( |
26:16.525 total execution time for 281 files from all galleries:
Example | Time | Mem (MB) |
|---|---|---|
Comparing randomized search and grid search for hyperparameter estimation ( |
03:58.371 |
0.0 |
Wikipedia principal eigenvector ( | 01:31.649 | 0.0 |
Model-based and sequential feature selection ( | 00:53.819 | 0.0 |
Selecting dimensionality reduction with Pipeline and GridSearchCV ( | 00:50.255 | 0.0 |
Evaluation of outlier detection estimators ( | 00:49.713 | 0.0 |
Post-hoc tuning the cut-off point of decision function ( | 00:36.456 | 0.0 |
Manifold learning on handwritten digits: Locally Linear Embedding, Isomap… ( | 00:35.116 | 0.0 |
Comparing Random Forests and Histogram Gradient Boosting models ( | 00:29.210 | 0.0 |
Analysis of the convergence of penalized logistic regression models ( | 00:29.194 | 0.0 |
Image denoising using dictionary learning ( | 00:28.461 | 0.0 |
Early stopping of Stochastic Gradient Descent ( | 00:27.034 | 0.0 |
Partial Dependence and Individual Conditional Expectation Plots ( | 00:25.396 | 0.0 |
Sample pipeline for text feature extraction and evaluation ( | 00:25.120 | 0.0 |
Scaling the regularization parameter for SVCs ( | 00:24.825 | 0.0 |
Post-tuning the decision threshold for cost-sensitive learning ( | 00:22.343 | 0.0 |
Balance model complexity and cross-validated score ( | 00:21.385 | 0.0 |
Overview of multiclass training meta-estimators ( | 00:21.050 | 0.0 |
Comparing Target Encoder with Other Encoders ( | 00:20.973 | 0.0 |
Features in Histogram Gradient Boosting Trees ( | 00:18.920 | 0.0 |
Manifold Learning methods on a severed sphere ( | 00:18.181 | 0.0 |
Scalable learning with polynomial kernel approximation ( | 00:18.136 | 0.0 |
Faces recognition example using eigenfaces and kernel approximation ( | 00:17.727 | 0.0 |
Poisson regression and non-normal loss ( | 00:17.598 | 0.0 |
Plotting Learning Curves and Checking Models’ Scalability ( | 00:17.597 | 0.0 |
Comparison of Manifold Learning methods ( | 00:17.401 | 0.0 |
Swiss Roll And Swiss-Hole Reduction ( | 00:16.855 | 0.0 |
Time-related feature engineering ( | 00:15.844 | 0.0 |
Test with permutations the significance of a classification score ( | 00:14.120 | 0.0 |
Release Highlights for scikit-learn 1.8 ( | 00:13.832 | 0.0 |
Common pitfalls in the interpretation of coefficients of linear models ( | 00:13.587 | 0.0 |
Prediction Latency ( | 00:12.800 | 0.0 |
Demo of HDBSCAN clustering algorithm ( | 00:12.603 | 0.0 |
Topic extraction with Non-negative Matrix Factorization and Latent Dirichlet Allocation ( | 00:12.329 | 0.0 |
Release Highlights for scikit-learn 0.24 ( | 00:12.132 | 0.0 |
Gradient Boosting Out-of-Bag estimates ( | 00:12.099 | 0.0 |
Prediction Intervals for Gradient Boosting Regression ( | 00:10.924 | 0.0 |
The Johnson-Lindenstrauss bound for embedding with random projections ( | 00:10.815 | 0.0 |
Normal, Ledoit-Wolf and OAS Linear Discriminant Analysis for classification ( | 00:09.988 | 0.0 |
Custom refit strategy of a grid search with cross-validation ( | 00:09.882 | 0.0 |
Effect of varying threshold for self-training ( | 00:09.841 | 0.0 |
Nested versus non-nested cross-validation ( | 00:09.014 | 0.0 |
Comparison of kernel ridge regression and SVR ( | 00:08.864 | 0.0 |
Comparison between grid search and successive halving ( | 00:08.442 | 0.0 |
Permutation Importance with Multicollinear or Correlated Features ( | 00:08.331 | 0.0 |
Lagged features for time series forecasting ( | 00:08.186 | 0.0 |
Gradient Boosting regularization ( | 00:08.165 | 0.0 |
Imputing missing values before building an estimator ( | 00:07.954 | 0.0 |
Compare the effect of different scalers on data with outliers ( | 00:07.806 | 0.0 |
Demonstration of multi-metric evaluation on cross_val_score and GridSearchCV ( | 00:07.753 | 0.0 |
Faces dataset decompositions ( | 00:07.383 | 0.0 |
Concentration Prior Type Analysis of Variation Bayesian Gaussian Mixture ( | 00:07.155 | 0.0 |
Out-of-core classification of text documents ( | 00:06.993 | 0.0 |
Permutation Importance vs Random Forest Feature Importance (MDI) ( | 00:06.975 | 0.0 |
Biclustering documents with the Spectral Co-clustering algorithm ( | 00:06.869 | 0.0 |
Species distribution modeling ( | 00:06.859 | 0.0 |
Clustering text documents using k-means ( | 00:06.793 | 0.0 |
Plot the decision surfaces of ensembles of trees on the iris dataset ( | 00:06.792 | 0.0 |
Tweedie regression on insurance claims ( | 00:06.779 | 0.0 |
MNIST classification using multinomial logistic + L1 ( | 00:06.674 | 0.0 |
Classification of text documents using sparse features ( | 00:06.605 | 0.0 |
Comparing different clustering algorithms on toy datasets ( | 00:06.118 | 0.0 |
Effect of model regularization on training and test error ( | 00:05.986 | 0.0 |
Successive Halving Iterations ( | 00:05.886 | 0.0 |
Imputing missing values with variants of IterativeImputer ( | 00:05.774 | 0.0 |
Support Vector Regression (SVR) using linear and non-linear kernels ( | 00:05.690 | 0.0 |
Combine predictors using stacking ( | 00:05.666 | 0.0 |
Visualization of MLP weights on MNIST ( | 00:05.513 | 0.0 |
Image denoising using kernel PCA ( | 00:05.452 | 0.0 |
Multiclass sparse logistic regression on 20newgroups ( | 00:05.213 | 0.0 |
Comparison of kernel ridge and Gaussian process regression ( | 00:05.149 | 0.0 |
Semi-supervised Classification on a Text Dataset ( | 00:05.123 | 0.0 |
FeatureHasher and DictVectorizer Comparison ( | 00:04.936 | 0.0 |
Model Complexity Influence ( | 00:04.904 | 0.0 |
RBF SVM parameters ( | 00:04.829 | 0.0 |
Categorical Feature Support in Gradient Boosting ( | 00:04.792 | 0.0 |
Release Highlights for scikit-learn 1.2 ( | 00:04.533 | 0.0 |
Ability of Gaussian process regression (GPR) to estimate data noise-level ( | 00:04.126 | 0.0 |
Feature discretization ( | 00:04.085 | 0.0 |
Forecasting of CO2 level on Mona Loa dataset using Gaussian process regression (GPR) ( | 00:04.079 | 0.0 |
Comparison of Calibration of Classifiers ( | 00:03.763 | 0.0 |
Comparing anomaly detection algorithms for outlier detection on toy datasets ( | 00:03.698 | 0.0 |
Kernel Density Estimation ( | 00:03.659 | 0.0 |
Robust vs Empirical covariance estimate ( | 00:03.602 | 0.0 |
Multi-class AdaBoosted Decision Trees ( | 00:03.550 | 0.0 |
OOB Errors for Random Forests ( | 00:03.529 | 0.0 |
Kernel Density Estimate of Species Distributions ( | 00:03.363 | 0.0 |
Recursive feature elimination ( | 00:03.291 | 0.0 |
Class Likelihood Ratios to measure classification performance ( | 00:03.290 | 0.0 |
Gaussian process classification (GPC) on iris dataset ( | 00:03.211 | 0.0 |
Compare Stochastic learning strategies for MLPClassifier ( | 00:03.207 | 0.0 |
Ledoit-Wolf vs OAS estimation ( | 00:03.190 | 0.0 |
Probability Calibration curves ( | 00:03.060 | 0.0 |
t-SNE: The effect of various perplexity values on the shape ( | 00:03.054 | 0.0 |
Visualizing the stock market structure ( | 00:02.966 | 0.0 |
Early stopping in Gradient Boosting ( | 00:02.720 | 0.0 |
Compare BIRCH and MiniBatchKMeans ( | 00:02.700 | 0.0 |
Advanced Plotting With Partial Dependence ( | 00:02.651 | 0.0 |
Model selection with Probabilistic PCA and Factor Analysis (FA) ( | 00:02.544 | 0.0 |
Column Transformer with Heterogeneous Data Sources ( | 00:02.511 | 0.0 |
Plot classification probability ( | 00:02.328 | 0.0 |
Inductive Clustering ( | 00:02.324 | 0.0 |
Robust linear estimator fitting ( | 00:02.189 | 0.0 |
Feature transformations with ensembles of trees ( | 00:02.184 | 0.0 |
Restricted Boltzmann Machine features for digit classification ( | 00:02.097 | 0.0 |
Hierarchical clustering with and without structure ( | 00:02.096 | 0.0 |
Probabilistic predictions with Gaussian process classification (GPC) ( | 00:02.038 | 0.0 |
Classifier comparison ( | 00:02.017 | 0.0 |
Release Highlights for scikit-learn 1.4 ( | 00:02.006 | 0.0 |
Vector Quantization Example ( | 00:01.944 | 0.0 |
Statistical comparison of models using grid search ( | 00:01.903 | 0.0 |
Online learning of a dictionary of parts of faces ( | 00:01.851 | 0.0 |
Feature importances with a forest of trees ( | 00:01.838 | 0.0 |
Comparing different hierarchical linkage methods on toy datasets ( | 00:01.796 | 0.0 |
Map data to a normal distribution ( | 00:01.788 | 0.0 |
Demo of OPTICS clustering algorithm ( | 00:01.779 | 0.0 |
Column Transformer with Mixed Types ( | 00:01.767 | 0.0 |
Multilabel classification using a classifier chain ( | 00:01.739 | 0.0 |
Release Highlights for scikit-learn 0.22 ( | 00:01.737 | 0.0 |
Dimensionality Reduction with Neighborhood Components Analysis ( | 00:01.696 | 0.0 |
Explicit feature map approximation for RBF kernels ( | 00:01.690 | 0.0 |
Varying regularization in Multi-layer Perceptron ( | 00:01.684 | 0.0 |
Principal Component Analysis (PCA) on Iris Dataset ( | 00:01.663 | 0.0 |
Face completion with a multi-output estimators ( | 00:01.645 | 0.0 |
Importance of Feature Scaling ( | 00:01.631 | 0.0 |
Failure of Machine Learning to infer causal effects ( | 00:01.629 | 0.0 |
Probability Calibration for 3-class classification ( | 00:01.591 | 0.0 |
Decision boundary of semi-supervised classifiers versus SVM on the Iris dataset ( | 00:01.562 | 0.0 |
Gaussian Mixture Model Selection ( | 00:01.528 | 0.0 |
Plot classification boundaries with different SVM Kernels ( | 00:01.486 | 0.0 |
Illustration of prior and posterior Gaussian process for different kernels ( | 00:01.403 | 0.0 |
Release Highlights for scikit-learn 1.3 ( | 00:01.284 | 0.0 |
Lasso on dense and sparse data ( | 00:01.282 | 0.0 |
Various Agglomerative Clustering on a 2D embedding of digits ( | 00:01.282 | 0.0 |
Effect of transforming the targets in regression model ( | 00:01.265 | 0.0 |
Empirical evaluation of the impact of k-means initialization ( | 00:01.250 | 0.0 |
Gradient Boosting regression ( | 00:01.232 | 0.0 |
Visualizing cross-validation behavior in scikit-learn ( | 00:01.193 | 0.0 |
Adjustment for chance in clustering performance evaluation ( | 00:01.177 | 0.0 |
Single estimator versus bagging: bias-variance decomposition ( | 00:01.174 | 0.0 |
Agglomerative clustering with different metrics ( | 00:01.106 | 0.0 |
Selecting the number of clusters with silhouette analysis on KMeans clustering ( | 00:01.105 | 0.0 |
SVM Tie Breaking Example ( | 00:01.095 | 0.0 |
Demonstration of k-means assumptions ( | 00:01.087 | 0.0 |
Bisecting K-Means and Regular K-Means Performance Comparison ( | 00:01.029 | 0.0 |
Lasso model selection: AIC-BIC / cross-validation ( | 00:00.984 | 0.0 |
Compressive sensing: tomography reconstruction with L1 prior (Lasso) ( | 00:00.969 | 0.0 |
Release Highlights for scikit-learn 1.5 ( | 00:00.927 | 0.0 |
Plot individual and voting regression predictions ( | 00:00.913 | 0.0 |
A demo of K-Means clustering on the handwritten digits data ( | 00:00.902 | 0.0 |
Pipelining: chaining a PCA and a logistic regression ( | 00:00.880 | 0.0 |
Plot the decision surface of decision trees trained on the iris dataset ( | 00:00.832 | 0.0 |
Release Highlights for scikit-learn 1.1 ( | 00:00.789 | 0.0 |
Multiclass Receiver Operating Characteristic (ROC) ( | 00:00.782 | 0.0 |
Visualizing the probabilistic predictions of a VotingClassifier ( | 00:00.755 | 0.0 |
Fitting an Elastic Net with a precomputed Gram Matrix and Weighted Samples ( | 00:00.754 | 0.0 |
Lasso, Lasso-LARS, and Elastic Net paths ( | 00:00.738 | 0.0 |
Comparing Linear Bayesian Regressors ( | 00:00.713 | 0.0 |
Segmenting the picture of greek coins in regions ( | 00:00.708 | 0.0 |
Caching nearest neighbors ( | 00:00.707 | 0.0 |
GMM Initialization Methods ( | 00:00.675 | 0.0 |
Two-class AdaBoost ( | 00:00.672 | 0.0 |
Recursive feature elimination with cross-validation ( | 00:00.671 | 0.0 |
Novelty detection with Local Outlier Factor (LOF) ( | 00:00.665 | 0.0 |
Ridge coefficients as a function of the L2 Regularization ( | 00:00.647 | 0.0 |
Sparse inverse covariance estimation ( | 00:00.628 | 0.0 |
Decision Boundaries of Multinomial and One-vs-Rest Logistic Regression ( | 00:00.600 | 0.0 |
Release Highlights for scikit-learn 1.9 ( | 00:00.578 | 0.0 |
IsolationForest example ( | 00:00.577 | 0.0 |
Principal Component Regression vs Partial Least Squares Regression ( | 00:00.571 | 0.0 |
Monotonic Constraints ( | 00:00.568 | 0.0 |
Quantile regression ( | 00:00.568 | 0.0 |
L1-based models for Sparse Signals ( | 00:00.558 | 0.0 |
Theil-Sen Regression ( | 00:00.556 | 0.0 |
Kernel PCA ( | 00:00.551 | 0.0 |
Comparing random forests and the multi-output meta estimator ( | 00:00.550 | 0.0 |
Precision-Recall ( | 00:00.548 | 0.0 |
Concatenating multiple feature extraction methods ( | 00:00.546 | 0.0 |
Decision Tree Regression with AdaBoost ( | 00:00.523 | 0.0 |
Release Highlights for scikit-learn 0.23 ( | 00:00.516 | 0.0 |
A demo of the mean-shift clustering algorithm ( | 00:00.513 | 0.0 |
Simple 1D Kernel Density Estimation ( | 00:00.507 | 0.0 |
Demonstrating the different strategies of KBinsDiscretizer ( | 00:00.506 | 0.0 |
Label Propagation digits: Active learning ( | 00:00.485 | 0.0 |
One-Class SVM versus One-Class SVM using Stochastic Gradient Descent ( | 00:00.484 | 0.0 |
Gaussian Processes regression: basic introductory example ( | 00:00.475 | 0.0 |
Shrinkage covariance estimation: LedoitWolf vs OAS and max-likelihood ( | 00:00.468 | 0.0 |
Outlier detection on a real data set ( | 00:00.452 | 0.0 |
L1 Penalty and Sparsity in Logistic Regression ( | 00:00.449 | 0.0 |
Post pruning decision trees with cost complexity pruning ( | 00:00.447 | 0.0 |
A demo of the Spectral Biclustering algorithm ( | 00:00.446 | 0.0 |
Polynomial and Spline interpolation ( | 00:00.445 | 0.0 |
Feature agglomeration vs. univariate selection ( | 00:00.439 | 0.0 |
Recognizing hand-written digits ( | 00:00.431 | 0.0 |
Gaussian Mixture Model Sine Curve ( | 00:00.421 | 0.0 |
Ordinary Least Squares and Ridge Regression ( | 00:00.418 | 0.0 |
Hashing feature transformation using Totally Random Trees ( | 00:00.412 | 0.0 |
Probability calibration of classifiers ( | 00:00.408 | 0.0 |
SVM-Anova: SVM with univariate feature selection ( | 00:00.397 | 0.0 |
Blind source separation using FastICA ( | 00:00.391 | 0.0 |
Linear and Quadratic Discriminant Analysis with covariance ellipsoid ( | 00:00.376 | 0.0 |
Factor Analysis (with rotation) to visualize patterns ( | 00:00.374 | 0.0 |
Plot Ridge coefficients as a function of the regularization ( | 00:00.372 | 0.0 |
Illustration of Gaussian process classification (GPC) on the XOR dataset ( | 00:00.363 | 0.0 |
A demo of structured Ward hierarchical clustering on an image of coins ( | 00:00.353 | 0.0 |
FastICA on 2D point clouds ( | 00:00.331 | 0.0 |
Decision Tree Regression ( | 00:00.322 | 0.0 |
Label Propagation digits: Demonstrating performance ( | 00:00.321 | 0.0 |
SVM: Weighted samples ( | 00:00.317 | 0.0 |
Target Encoder’s Internal Cross fitting ( | 00:00.315 | 0.0 |
Visualizations with Display Objects ( | 00:00.308 | 0.0 |
Evaluate the performance of a classifier with Confusion Matrix ( | 00:00.307 | 0.0 |
Robust covariance estimation and Mahalanobis distances relevance ( | 00:00.300 | 0.0 |
Sparse coding with a precomputed dictionary ( | 00:00.286 | 0.0 |
Curve Fitting with Bayesian Ridge Regression ( | 00:00.277 | 0.0 |
A demo of the Spectral Co-Clustering algorithm ( | 00:00.274 | 0.0 |
Joint feature selection with multi-task Lasso ( | 00:00.268 | 0.0 |
Demo of affinity propagation clustering algorithm ( | 00:00.264 | 0.0 |
Comparison of F-test and mutual information ( | 00:00.254 | 0.0 |
SGD: Penalties ( | 00:00.245 | 0.0 |
Supporting callbacks in third party estimators ( | 00:00.238 | 0.0 |
Detection error tradeoff (DET) curve ( | 00:00.235 | 0.0 |
Nearest Neighbors Classification ( | 00:00.229 | 0.0 |
Orthogonal Matching Pursuit ( | 00:00.228 | 0.0 |
Plot different SVM classifiers in the iris dataset ( | 00:00.225 | 0.0 |
Spectral clustering for image segmentation ( | 00:00.224 | 0.0 |
Gaussian Mixture Model Ellipsoids ( | 00:00.219 | 0.0 |
Gaussian processes on discrete data structures ( | 00:00.215 | 0.0 |
Incremental PCA ( | 00:00.213 | 0.0 |
Using KBinsDiscretizer to discretize continuous features ( | 00:00.210 | 0.0 |
Compare cross decomposition methods ( | 00:00.205 | 0.0 |
Receiver Operating Characteristic (ROC) with cross validation ( | 00:00.204 | 0.0 |
Underfitting vs. Overfitting ( | 00:00.199 | 0.0 |
Comparison of the K-Means and MiniBatchKMeans clustering algorithms ( | 00:00.196 | 0.0 |
Comparison of LDA and PCA 2D projection of Iris dataset ( | 00:00.193 | 0.0 |
Plotting Cross-Validated Predictions ( | 00:00.191 | 0.0 |
Univariate Feature Selection ( | 00:00.189 | 0.0 |
ROC Curve with Visualization API ( | 00:00.186 | 0.0 |
SVM: Separating hyperplane for unbalanced classes ( | 00:00.182 | 0.0 |
Nearest Neighbors regression ( | 00:00.182 | 0.0 |
Multilabel classification ( | 00:00.182 | 0.0 |
Regularization path of L1- Logistic Regression ( | 00:00.177 | 0.0 |
GMM covariances ( | 00:00.177 | 0.0 |
Label Propagation circles: Learning a complex structure ( | 00:00.172 | 0.0 |
Multi-dimensional scaling ( | 00:00.170 | 0.0 |
Demo of DBSCAN clustering algorithm ( | 00:00.165 | 0.0 |
Release Highlights for scikit-learn 1.7 ( | 00:00.163 | 0.0 |
Nearest Centroid Classification ( | 00:00.161 | 0.0 |
Comparing Nearest Neighbors with and without Neighborhood Components Analysis ( | 00:00.160 | 0.0 |
Introducing the set_output API ( | 00:00.159 | 0.0 |
Plot the support vectors in LinearSVC ( | 00:00.156 | 0.0 |
One-class SVM with non-linear kernel (RBF) ( | 00:00.152 | 0.0 |
Isotonic Regression ( | 00:00.146 | 0.0 |
Understanding the decision tree structure ( | 00:00.134 | 0.0 |
Displaying Pipelines ( | 00:00.129 | 0.0 |
Lasso model selection via information criteria ( | 00:00.129 | 0.0 |
HuberRegressor vs Ridge on dataset with strong outliers ( | 00:00.124 | 0.0 |
Iso-probability lines for Gaussian Processes classification (GPC) ( | 00:00.123 | 0.0 |
Plot randomly generated multilabel dataset ( | 00:00.118 | 0.0 |
SGD: convex loss functions ( | 00:00.118 | 0.0 |
Plot multi-class SGD on the iris dataset ( | 00:00.117 | 0.0 |
Density Estimation for a Gaussian mixture ( | 00:00.113 | 0.0 |
Neighborhood Components Analysis Illustration ( | 00:00.107 | 0.0 |
Release Highlights for scikit-learn 1.6 ( | 00:00.107 | 0.0 |
Plot Hierarchical Clustering Dendrogram ( | 00:00.106 | 0.0 |
SVM with custom kernel ( | 00:00.100 | 0.0 |
Feature agglomeration ( | 00:00.099 | 0.0 |
Robust linear model estimation using RANSAC ( | 00:00.095 | 0.0 |
Outlier detection with Local Outlier Factor (LOF) ( | 00:00.074 | 0.0 |
SGD: Weighted samples ( | 00:00.068 | 0.0 |
Non-negative least squares ( | 00:00.068 | 0.0 |
SGD: Maximum margin separating hyperplane ( | 00:00.067 | 0.0 |
SVM: Maximum margin separating hyperplane ( | 00:00.061 | 0.0 |
SVM Margins Example ( | 00:00.059 | 0.0 |
An example of K-Means++ initialization ( | 00:00.045 | 0.0 |
Developing Estimators Compliant with Metadata Routing ( | 00:00.040 | 0.0 |
Displaying estimators and complex pipelines ( | 00:00.031 | 0.0 |
Pipeline ANOVA SVM ( | 00:00.029 | 0.0 |
Examples of Using FrozenEstimator ( | 00:00.020 | 0.0 |
Release Highlights for scikit-learn 1.0 ( | 00:00.018 | 0.0 |
__sklearn_is_fitted__ as Developer API ( | 00:00.000 | 0.0 |
Approximate nearest neighbors in TSNE ( | 00:00.000 | 0.0 |