Intro to Scikit-learn for machine learning

Table of Contents

  1. Machine Learning
  2. What is scikit learn or sklearn
  3. Dependencies installation
  4. Installing and environment Setup
  5. Exploring Sklearn
  6. Video Tutorial

1 Machine Learning

  1. Machine learning is a subdomain of Artificial Intelligence that teaches machines to perform specific tasks by using algorithms and statistical models.
  2. Machine learning algorithms has a wide variety of applications in every major domain like language processing ,computer vision , time series analysis and many more.
  3. Python is most used language for machine learning tasks and Scikit learn is one of the most used libraries for ml tasks. 

2 What is scikit learn or sklearn

  1. scikit-learn is a Python library and it’s open-source allowing it to have a huge development over a period of time and it’s easy implementation makes this one of the most famous libraries in python implementation.
  2. Sklearn makes our path easy in machine learning life cycles.
  3.  It is used for Data Preprocessing (Min-Max scalar, Standardization, Normalization)
  4. Splitting data (train and test)
  5. Feature Selection 
  6.  Training the models (Linear models, Tree Models, Ensemble models, Neural Networks)
  7.  Evaluating with different metrics.(Accuracy,RMSE,F1,recall,precision)………….many more

3 Dependencies installation

scikit-learn is mainly built on main three libraries of numpy, SCIPY,matplotlib

NumPy and SciPy

 These are very fundamental libraries of machine-learning implementation in python because it allows the users to implement the multi-dimensional array and vectorization which increases the speed of the models drastically 


Itis a plotting or visualization library allowing the users to plot a different kind of bars and charts and easily through visualization to get inside out of data.

installation of scikit-learn 

Scikit-learn requirements

  1. Python (> =2.7 or Python > =3.4)
  2. NumPy(≥1.8.2)
  3. Scipy (≥0.13.3)

Command to install Scikit-learn:


5 Exploring Sklearn

  1. Scikit-learn is organized in a structure of modules and classes. Importing those modules and classes are very straight forward.
  2. Let see how we can call preprocessing Subclass from the Sklearn library.

Similarly, we can easily evaluate models with different metrics using sklearn.


Sklearn gives high flexibility such that we can handle regression, classification, and clustering models elegantly.

Video Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *