SlideShare a Scribd company logo
Machine Learning Day-1
What we will Learn today :-
• Introduction to Machine Learning
• Simple Linear Regression
• Loss/Cost/Error Function
What is Machine
Learning?
Machine learning is teaching computers to learn from data,
like a student getting smarter by studying.
AI vs ML vs DL vs DS vs GenAI
Types of Machine Learning
● Supervised Machine Learning
● Un-Supervised Machine Learning
● Reinforcement Learning
● Semi Supervised Machine Learning
Supervised Machine Learning
Supervised learning trains with labelled data (think flashcards) to
make predictions on new data
Labelled data - This has a label attached that tells you what the
data is.
There are two main categories of supervised learning:
• Regression- output will be Numerical , Decimal value
• Classification – output will be categorical value like ‘dog or not
dog’.
Un-Supervised Machine Learning
Unsupervised learning explores unlabelled data, finding hidden
patterns and groups
Unlabelled data - This is raw data without any labels.
There are three main categories of supervised learning:
• Clustering: This groups similar data points together, like sorting
customers by purchase history.
• Association rule learning: This finds relationships between data points
• Dimensionality reduction: This simplifies complex data by reducing the
number of features, making it easier to analyse.
Simple Linear Regression
(supervised ML)
Output – continuous values
Simple Linear Regression
(supervised ML)
Goal – To create a best fit
line in such a way that the
summation of the error will
be minimum.
Prediction Formula
y_pred = mx + c
Cost/Loss Function
Thank You
Machine Learning Day-2
What we will Learn today :-
• Convergence Algorithm
• Multiple Linear Regression
• Types of Cost/Loss Function
Convergence Algorithm
Convergence in machine learning is when a model's performance
stops improving during training, signifying it has reached an
optimal state.
Multiple Linear Regression
Multiple linear regression predicts a value using several
factors. Imagine estimating house prices based on size,
location, and number of bedrooms.
So our equation will be :-
Y_pred = c + m1x1 + m2x2 + m3x3 +
…….+mnxn
Graph comparisons:-
How will your gradient descent look in
case of 2 Input feature
Types of Cost Function:
• Mean Squared Error
• Mean Absolute Error
• Root Mean Squared Error
Mean Square Error
Mean Absolute Error
Root Mean Square Error
Thank You
Machine Learning Day-3
What we will Learn today :-
• Covariance, Pearson corelation coefficient, Spearman rank
corelation
• Performance Metrices
• Regularization
• Elastic Net Regression
Covariance
It Quantifies the relationship between x and y
When it will be 0?
Performance Metrices:-
•R_Squared
•Adjusted R_Squared
R_Squared :-
House Price Prediction
Adjusted R_Squared
Ridge Regression
Lasso Regression
Elastic Net Regression
Thank You
Machine Learning Day-4
What we will Learn today :-
• Bias Variance Trade-off
• Logistic Regression
• Performance metrices
Bias Varience Trade off
Training Accuracy
Testing Accuracy
Logistic Regression
Cost Function:-
Log Loss Function
Performance Metrices:-
• Confusion Metrix
• Accuracy Score
• Precision
• Recall
• F-beta
Confusion Metrix
Accuracy
Precision
Recall
Assignment – Predict whether a person has
diabetes or not
F-beta
Tomorrow Stock market is going to crash
Thank You
Machine Learning Day-5
What we will Learn today :-
• Multicollinearity
• Decision Tree Classifier
• Decision Tree Regressor
Multicollinearity
Decision Tree
• Decision Tree Classifier
• Decision Tree Regressor
Decision Tree Classifier
Purity Check
Entropy
Gini Index
Information Gain
Decision Tree Post Pruning and
Pre Pruning
Pre pruning
Decision Tree Regressor
Varience Reduction
Thank You

More Related Content

Similar to Machine learning full guide gdsc haldia

Similar to Machine learning full guide gdsc haldia (20)

Application of Machine Learning in Agriculture
Application of Machine  Learning in AgricultureApplication of Machine  Learning in Agriculture
Application of Machine Learning in Agriculture
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Machine Learning techniques used in AI.
Machine Learning  techniques used in AI.Machine Learning  techniques used in AI.
Machine Learning techniques used in AI.
 
Machine Learning 2 deep Learning: An Intro
Machine Learning 2 deep Learning: An IntroMachine Learning 2 deep Learning: An Intro
Machine Learning 2 deep Learning: An Intro
 
Artificial intyelligence and machine learning introduction.pptx
Artificial intyelligence and machine learning introduction.pptxArtificial intyelligence and machine learning introduction.pptx
Artificial intyelligence and machine learning introduction.pptx
 
Machine learning introduction
Machine learning introductionMachine learning introduction
Machine learning introduction
 
4.1.pptx
4.1.pptx4.1.pptx
4.1.pptx
 
Unveiling the Market: Predicting House Prices with Data Science
Unveiling the Market: Predicting House Prices with Data ScienceUnveiling the Market: Predicting House Prices with Data Science
Unveiling the Market: Predicting House Prices with Data Science
 
Predicting House Prices: A Machine Learning Approach
Predicting House Prices: A Machine Learning ApproachPredicting House Prices: A Machine Learning Approach
Predicting House Prices: A Machine Learning Approach
 
AI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptxAI-900 - Fundamental Principles of ML.pptx
AI-900 - Fundamental Principles of ML.pptx
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
 
DutchMLSchool. Logistic Regression, Deepnets, Time Series
DutchMLSchool. Logistic Regression, Deepnets, Time SeriesDutchMLSchool. Logistic Regression, Deepnets, Time Series
DutchMLSchool. Logistic Regression, Deepnets, Time Series
 
machine learning
machine learningmachine learning
machine learning
 
Module 7: Unsupervised Learning
Module 7:  Unsupervised LearningModule 7:  Unsupervised Learning
Module 7: Unsupervised Learning
 
Machine Learning - Lecture1.pptx.pdf
Machine Learning - Lecture1.pptx.pdfMachine Learning - Lecture1.pptx.pdf
Machine Learning - Lecture1.pptx.pdf
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Explore ml day 2
Explore ml day 2Explore ml day 2
Explore ml day 2
 
Machine Learning in the Financial Industry
Machine Learning in the Financial IndustryMachine Learning in the Financial Industry
Machine Learning in the Financial Industry
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your need
 
Customer_Churn_prediction.pptx
Customer_Churn_prediction.pptxCustomer_Churn_prediction.pptx
Customer_Churn_prediction.pptx
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 

Machine learning full guide gdsc haldia