Professional Documents
Culture Documents
PRACTICAL 2
Introduction to Machine Learning
Working with Scikit-Learn
Table of Contents
0. Learning Objectives 2
1. Introduction to scikit-learn library 2
2. Scikit-learn datasets 3
2.1. Import modules 3
2.2. Load data 4
2.3. Creating dataframe 4
2.4. Exploring the data 5
3. Scikit-learn Pre-processing techniques 5
3.1. Import Scaler 5
3.2. Scale the features 5
3.3. Convert scaled data to DataFrame 6
TODO: WORKING WITH SKLEARN DIABETES DATASET 6
0. Learning Objectives
In this week’s practical session, the main focus is on the usage of sklearn library.
The primary aim is to enable students to effectively harness the scikit-learn library
for machine learning tasks.
2. Scikit-learn datasets
The sklearn.datasets module contains different datasets that you can use to
work on for creating machine learning models. In this section we will explore few of
them.
INSTRUCTIONS:
INSTRUCTIONS:
First find the necessary module where the StandardScaler is and import it.
…….
THANK YOU