Sling Academy
Home/Scikit-Learn/Scikit-Learn Tutorials

Scikit-Learn Tutorials

This series of tutorials helps you learn Sckit-Learn from basic to advanced. We'll go through various topics and practical examples, both simple and complex.

1 Introduction to Scikit-Learn's `BaseEstimator` and Its Importance

2 Understanding Scikit-Learn's `ClassifierMixin`

3 A Guide to Using Scikit-Learn's `ClusterMixin` for Clustering Tasks

4 How to Perform Calibration with Scikit-Learn's `CalibratedClassifierCV`

5 Visualizing Calibration Curves with Scikit-Learn's `CalibrationDisplay`

6 A Step-by-Step Guide to Scikit-Learn's `AffinityPropagation`

7 Understanding Agglomerative Clustering in Scikit-Learn

8 Implementing the BIRCH Algorithm in Scikit-Learn

9 Clustering with Scikit-Learn's `BisectingKMeans`

10 Scikit-Learn's `DBSCAN` Clustering: A Complete Tutorial

11 Feature Agglomeration with Scikit-Learn

12 Hierarchical Density-Based Clustering Using HDBSCAN in Scikit-Learn

13 Scikit-Learn's `KMeans`: A Practical Guide

14 Mastering Mean Shift Clustering in Scikit-Learn

15 Mini-Batch K-Means with Scikit-Learn

16 OPTICS Clustering in Scikit-Learn: An In-Depth Guide

17 Spectral Biclustering with Scikit-Learn

18 Using Scikit-Learn's `SpectralClustering` for Non-Linear Data

19 Spectral Co-Clustering in Scikit-Learn Explained

20 An Introduction to Scikit-Learn's `ColumnTransformer`

21 A Guide to Scikit-Learn's `TransformedTargetRegressor`

22 How to Use `make_column_transformer` in Scikit-Learn

23 Understanding Scikit-Learn's `EllipticEnvelope` for Outlier Detection

24 Scikit-Learn's `GraphicalLasso`: A Step-by-Step Tutorial

25 Implementing `LedoitWolf` Estimator in Scikit-Learn

26 Using Scikit-Learn's `MinCovDet` for Robust Covariance Estimation

27 Oracle Approximating Shrinkage Estimator (OAS) in Scikit-Learn

28 A Complete Guide to Scikit-Learn's `ShrunkCovariance`

29 Performing Canonical Correlation Analysis (CCA) with Scikit-Learn

30 Partial Least Squares Regression in Scikit-Learn

31 Dumping and Loading Datasets with Scikit-Learn's `dump_svmlight_file`

32 Fetching the 20 Newsgroups Dataset with Scikit-Learn

33 Working with the California Housing Dataset in Scikit-Learn

34 Scikit-Learn's `fetch_covtype` for Forest Cover Type Classification

35 Fetching and Processing the KDDCup99 Dataset in Scikit-Learn

36 Scikit-Learn's `fetch_lfw_people`: An Image Classification Example

37 Using Scikit-Learn's `fetch_olivetti_faces` for Face Recognition

38 Loading and Analyzing the RCV1 Dataset with Scikit-Learn

39 Visualizing the Iris Dataset with Scikit-Learn

40 Analyzing the Breast Cancer Dataset with Scikit-Learn

41 Using Scikit-Learn's `load_digits` for Digit Recognition

42 Generating Synthetic Classification Data with Scikit-Learn's `make_classification`

43 Creating Blobs for Clustering with Scikit-Learn

44 Scikit-Learn's `make_moons`: Generating Moon-Shaped Clusters

45 Generating Gaussian Quantiles with Scikit-Learn

46 Creating an S-Curve Dataset with Scikit-Learn

47 Dimensionality Reduction Using Scikit-Learn's `PCA`

48 FastICA with Scikit-Learn: A Step-by-Step Guide

49 Applying Non-Negative Matrix Factorization (NMF) with Scikit-Learn

50 Dictionary Learning with Scikit-Learn's `dict_learning_online`

51 Using Sparse PCA for Dimensionality Reduction in Scikit-Learn

52 Understanding Scikit-Learn's `TruncatedSVD` for LSA

53 Linear Discriminant Analysis (LDA) with Scikit-Learn

54 Quadratic Discriminant Analysis in Scikit-Learn

55 A Guide to Scikit-Learn's Dummy Classifiers

56 Implementing Gradient Boosting in Scikit-Learn

57 Using Scikit-Learn's `HistGradientBoostingClassifier` for Faster Training

58 Isolation Forests for Anomaly Detection with Scikit-Learn

59 Random Forest Classifiers in Scikit-Learn Explained

60 Stacking Classifiers with Scikit-Learn's `StackingClassifier`

61 Voting Classifiers in Scikit-Learn: Soft vs. Hard Voting

62 Understanding Scikit-Learn's Convergence Warnings

63 How to Use Scikit-Learn's `DataDimensionalityWarning`

64 Debugging with Scikit-Learn's `show_versions`

65 Working with `DictVectorizer` in Scikit-Learn for Feature Extraction

66 A Practical Guide to Scikit-Learn's `FeatureHasher`

67 Extracting Image Patches with Scikit-Learn

68 Text Processing with Scikit-Learn's `CountVectorizer`

69 Using `TfidfVectorizer` for Text Classification in Scikit-Learn

70 Feature Selection with Scikit-Learn's `SelectKBest`

71 Recursive Feature Elimination (RFE) in Scikit-Learn

72 Estimating Mutual Information with Scikit-Learn

73 Gaussian Process Regression with Scikit-Learn

74 Imputing Missing Values with Scikit-Learn's `SimpleImputer`

75 Partial Dependence Plots with Scikit-Learn's `PartialDependenceDisplay`

76 Isotonic Regression with Scikit-Learn

77 Using Scikit-Learn's `RBFSampler` for Kernel Approximation

78 Logistic Regression with Cross-Validation in Scikit-Learn

79 Elastic Net Regression in Scikit-Learn

80 Bayesian Ridge Regression with Scikit-Learn

81 Implementing Robust Regressors in Scikit-Learn

82 The RANSAC Algorithm for Robust Regression in Scikit-Learn

83 Using Theil-Sen Estimator in Scikit-Learn

84 Kernel Ridge Regression with Scikit-Learn

85 Manifold Learning with Scikit-Learn's `Isomap`

86 Multidimensional Scaling (MDS) in Scikit-Learn

87 Visualizing T-SNE Results with Scikit-Learn

88 Using Scikit-Learn's `train_test_split` for Model Validation

89 Hyperparameter Tuning with `GridSearchCV` in Scikit-Learn

90 Understanding `RandomizedSearchCV` in Scikit-Learn

91 Visualizing Learning Curves with Scikit-Learn

92 One-vs-Rest Classification Strategy in Scikit-Learn

93 Using Scikit-Learn's `BernoulliNB` for Binary Classification

94 K-Nearest Neighbors Classification with Scikit-Learn

95 Nearest Centroid Classification in Scikit-Learn

96 Multi-Layer Perceptrons in Scikit-Learn

97 Pipeline Construction in Scikit-Learn

98 Standardizing Data with Scikit-Learn's `StandardScaler`

99 Applying `MinMaxScaler` in Scikit-Learn for Feature Scaling

100 Robust Scaling for Outlier-Heavy Data with Scikit-Learn

101 Scikit-Learn Complete Cheat Sheet