Supervised Learning Workshop
Supervised Learning Workshop
ipynb
1
2
3
4
Introduction To ‘ML’ {
5
6
[ Supervised Learning]
7
8
9 < Data shapes, machine learns >
10
11
12
13 }
14
Sklearn
forbeginners.py supervised.ipynb
1
2
Table Of ‘Contents’ {
3
4 01 Intro to Machine Learning
5
6
7
8 02 Types of Machine Learning
9
10
11
12
03 Supervised learning workflow
13
14 }
Sklearn
forbeginners.py supervised.ipynb
01 {
1
2
3
4
5
6 [Machine learning]
7
8 < It’s a way for computers to learn
9 and make decisions by themselves by
10
analyzing and learning from data,
11
rather than being explicitly
}
12
programmed for each task >
13
14
Sklearn
forbeginners.py supervised.ipynb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Sklearn
forbeginners.py supervised.ipynb
1
2
Motivations (why ML?) {
3
4
Automation
5 < automates repetitive tasks, making processes
faster and more efficient >
6
7 Personalization
8
< enables personalized experiences for users,
9 such as personalized recommendations >
10
11 Improved Decision Making
12 < By analyzing data, ML can help make more
13 accurate predictions and decisions >
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
UseCases; {
3
4
Healthcare
5 < Machine learning is used for predicting
diseases, personalizing treatment plans >
6
7 Finance
8 < It's used for fraud detection, algorithmic
9 trading, credit scoring, and managing financial
risks >
10
11 Marketing
12 < It helps in customer segmentation, targeted
13 advertising, churn prediction >
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
What is a ‘Model’ ? {
3
4
5 < computer programs
6 that are used to
recognize patterns
7
in data or make
8 predictions. >
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
What is a ‘Model’ ? {
3
4
5 < computer programs
6 that are used to
recognize patterns
7
in data or make
8 predictions. >
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
02 {
1
2
3
4
5
6 [Types of ML]
7
8 < It’s a way for computers to learn
9 and make decisions by themselves by
10
analyzing and learning from data,
11
rather than being explicitly
}
12
programmed for each task >
13
14
Sklearn
forbeginners.py supervised.ipynb
1
2
Types of ‘Machine Learning’ {
3 What we will cover
4
5 Supervised Unsupervised
6 < Teaching computers < Learning patterns from
7 using labeled data to data without predefined
8 predict outcomes. > labels. >
9
10 Other Types
11
Reinforcement Semi Active
12 Learning supervised Learning
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Types of ‘Machine Learning’ {
3
Supervised Unsupervised
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
3
4
5
Supervised-learning
{ Types;
6
7
8
9
10
11
12
13
14
}
Sklearn
forbeginners.py supervised.ipynb
1
2
Classification< /1 > {
3
< Categorizing data into distinct groups. >
4
5
6
7
}
8
9 Regression< /2 > {
10
11 < Predicting continuous numerical outcomes. >
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Regression; {
3
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Regression models;{
3
4
Linear Regression
< predicts a response using a straight line
5 relationship between input and output
6 variables. >
7 Decision Trees
8
< It splits the data into subsets based on
9 feature value conditions. >
10
11 Random Forest
12 < uses multiple decision trees to make a more
13 accurate and robust model. It averages the
14 } results of different trees.>
Sklearn
forbeginners.py supervised.ipynb
1
2
Linear Regression; {
3
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Decision Tree; {
3
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Classification; {
3
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Classification models; {
3
4
Logistic Regression
5 < Despite its name, it's used for binary
classification (e.g., spam or not spam). >
6
7 Decision Trees
8 < uses a tree-like graph of decisions to
9 classify data. Each branch represents a
10 choice between alternatives. >
11 Random forest
12 < An ensemble of decision trees, combining
13 their predictions to improve accuracy. >
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Logistic regression; {
3
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
03 {
1
2
3
4
5
6 [Supervised learning workflow]
7
8
9
10 < Data labeling, model training,
11 evaluation >
}
12
13
14
Sklearn
forbeginners.py supervised.ipynb
1
2
Steps of ‘ML Workflow’ {
3 Data Collection: Gathering and
4 Step 01 assembling the dataset.
5
6 Data Preprocessing: Cleaning and
Step 02 formatting the data for analysis.
7
8 Feature Selection and Engineering:
9 Step 03 Identifying and preparing the input
10 variables (features) for the model.
11
Model Training: Using the processed
12 Step 04 data to train the machine learning
13 model.
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Steps of ‘ML Workflow’ {
3 Model Evaluation: Testing the
4 Step 05 model's performance with relevant
metrics.
5
6 Model Deployment: Implementing the
Step 06 model in a real-world application
7 or system.
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Evaluation; {
3
4
5
6 <p The process of assessing how well a model
performs. It involves using specific metrics to
7
measure the accuracy, effectiveness, and quality
8 of the predictions made by the model. >
9
10
11
</p>
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Classification ‘metrics’ {
3 Prior concepts
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Classification ‘metrics’ {
3 Prior concepts
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Classification ‘metrics’ {
3 metrics
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Regression ‘metrics’ {
3 Residuals
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Regression ‘metrics’ {
3 Metrics
4
5
6
7
8
9
10
11
12
13
14 }
Sklearn
forbeginners.py supervised.ipynb
1
2
Thanks; {
3
‘Do you have any questions?’
4
5 Email:[email protected]
6 Discord:ayoubkorichi
7
8
9
10 CREDITS: This presentation template was
created by Slidesgo, including icons by
11 Flaticon, and infographics & images by Freepik
12
13
14 }
Sklearn