SlideShare ist ein Scribd-Unternehmen logo
1 von 81
Machine Learning Example
How does
Snapchat
filter work?
Machine Learning Example
Machine Learning Example
Matrix of numbers
Machine Learning Example
Matrix of numbers
Looks for color patterns
on face
Machine Learning Example
Matrix of numbers
Looks for color patterns
on face
Points align
themselves and
look for areas of
contrast
Machine Learning Example
Matrix of numbers
Looks for color patterns
on face
Points align
themselves and
look for areas of
contrast
What’s in it for you?
Types of Machine Learning Algorithms
Real World Applications of Machine Learning
Processes involved in Machine Learning
What is Machine Learning?
Logistic Regression
Linear Regression
Decision Tree and Random forest
K Nearest Neighbors
Popular Algorithms with Hands On Demo
Real World Applications of
Machine Learning
Real World Applications of Machine Learning
Face Recognition Healthcare Industry Weather Forecasting
Produce a Web Series Prepare a new Drink
Siri and Cortana
What is Machine Learning?
What is Machine Learning?
Machine Learning is the science of making computers learn and act like humans by feeding
data and information without being explicitly programmed.
What is Machine Learning?
Past Data
Machine Learning is the science of making computers learn and act like humans by feeding
data and information without being explicitly programmed.
What is Machine Learning?
Past Data
Analyses
Machine Learning is the science of making computers learn and act like humans by feeding
data and information without being explicitly programmed.
What is Machine Learning?
Past Data
Analyses
Trains
Machine Learning is the science of making computers learn and act like humans by feeding
data and information without being explicitly programmed.
What is Machine Learning?
Past Data
Analyses
Predicts
Trains
Machine Learning is the science of making computers learn and act like humans by feeding
data and information without being explicitly programmed.
Output
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Data
Pre-Processing
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Data
Pre-Processing
Choose
Model
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Data
Pre-Processing
Choose
Model
Train Model
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Data
Pre-Processing
Choose
Model
Train Model
Test Model
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Data
Pre-Processing
Choose
Model
Train Model
Test Model
Tune Model
Processes involved in Machine Learning
Data
Gathering
7Machine Learning
Processes
Data
Pre-Processing
Choose
Model
Train Model
Test Model
Tune Model
Prediction
Types of Machine Learning Algorithms
VSupervised
Learning
Un-Supervised
Learning
Reinforcement
Learning
Machine
Learning
Association
• Market Basket Analysis
• Text Mining
• Face Recognition
Classification
• Fraud Detection
• Email Spam Detection
• Image Classification
Regression
• Weather Forecasting
• Risk Assessment
• Score Prediction
Clustering
• Medical Research
• City Planning
• Targeted Marketing
Reinforcement Learning
• Gaming
• Robot Navigation
• Stock Trading
• Assembly Line Processes
Popular Algorithms in Machine Learning
Algorithm 1
Linear
Regression
Popular Algorithms in Machine Learning
Algorithm 1
Algorithm 2
Linear
Regression
Logistic
Regression
Popular Algorithms in Machine Learning
Algorithm 1
Decision
Tree
Algorithm 2
Algorithm 3
Linear
Regression
Logistic
Regression
Popular Algorithms in Machine Learning
Algorithm 1
Decision
Tree
Random
Forest
Algorithm 2
Algorithm 3
Algorithm 4
Linear
Regression
Logistic
Regression
Popular Algorithms in Machine Learning
Algorithm 1
Decision
Tree
Random
Forest
K Nearest
Neighbors
Algorithm 2
Algorithm 3
Algorithm 4
Algorithm 5
Linear
Regression
Logistic
Regression
Linear Regression
History of Linear Regression
Linear Regression: Brief history on how Regression came into picture.
Francis Galton Heights of Father and Son
Studied
Best fit
line
Regression Line
Analyzed
Height Data
Mean Height of all People
Regressed
Linear Regression
Linear Regression is a linear modelling approach to find relationship between one or more independent variables (predictors)
denoted as X and dependent variable (target) denoted as Y.
Temperature
Sales
Temperature
Sales
Regression line to predict the sales
Plotting the sales of ice cream based
on temperature
Predict sales of Ice Cream based on temperature:
Linear Regression
Finding the best fit line: The best fit line can be found out by minimizing the distance between all the data points and the distance
to the regression line. Ways to minimize this distance are sum of squared errors, sum of absolute errors etc.
Distance between the data points
and the line is maximum
Not the best fit line
Finding the best fit line: The best fit line can be found out by minimizing the distance between all the data points and the distance
to the regression line. Ways to minimize this distance are sum of squared errors, sum of absolute errors etc.
Linear Regression
Not the best fit line
Distance between the data points
and the line can still be reduced
Linear Regression
Finding the best fit line: The best fit line can be found out by minimizing the distance between all the data points and the distance
to the regression line. Ways to minimize this distance are sum of squared errors, sum of absolute errors etc.
Distance between the data points
and the line is the least
Best fit regression line
Implementation of Linear Regression
Linear Regression: Predict Employee Salary based on Years of Experience.
HR team trying to figure out how much
to pay to a new joinee?
Predict Salary
How much do we pay her?
New Joinee
Years of experience
Salary
Employee data of Salary
based on Years of experience
Implementation of Linear Regression
1. Load the libraries:
2. Import the Dataset:
Implementation of Linear Regression
3. Visualize the data:
Implementation of Linear Regression
4. Split the data into training and testing set:
5. Fit Simple Linear Regression to the training dataset:
Implementation of Linear Regression
6. Predict the test set results:
Implementation of Linear Regression
7. Visualize the train set results:
Implementation of Linear Regression
8. Visualize the test set results:
Implementation of Linear Regression
9. Calculating the residuals:
Since the RMSE value is too less, the model is a good model
Logistic Regression
Logistic Regression
Logistic Regression is a Classification algorithm used to predict discrete/ categorical values
Who will default on their credit card payment?
Logistic Regression
Logistic Regression is a Classification algorithm used to predict discrete/ categorical values
Who will default on their credit card payment?
Credit card users
Logistic Regression
Logistic Regression is a Classification algorithm used to predict discrete/ categorical values
Who will default on their credit card payment?
Credit card users Make credit card
transaction
Logistic Regression
Logistic Regression is a Classification algorithm used to predict discrete/ categorical values
Who will default on their credit card payment?
Credit card users
Plot of monthly credit card balance
and annual income
Make credit card
transaction
Logistic Regression
Plotting the Logistic Regression Curve: The Logistic Regression curve is known as the Sigmoid curve (S curve)
Predicted Y lies in the range 0 and 1
1
1 + e-zP =
Predicted Y can exceed the range 0 and 1
Y = m1x+c0
Logistic Regression
Plotting the Logistic Regression Curve: The Logistic Regression curve is known as the Sigmoid curve (S curve)
Y = m1x+c0
0.5
Threshold
value
0.5
Cutoff point at 0.5, anything below it
results in 0 and above is 1
Red data point will default as it is above
the threshold value of 0.5 and green data
point won’t as it is below the threshold
value
Implementation of Logistic Regression
Logistic Regression: Predict if a person will buy an SUV based on their Age and Estimated Salary
Age Estimated
Salary
Implementation of Logistic Regression
1. Load the libraries:
2. Import the dataset and extract the independent and dependent variables:
Implementation of Logistic Regression
3. Visualize the dataset:
Implementation of Logistic Regression
4. Split the dataset into Training and Testing set:
5. Feature Scaling:
6. Fit Logistic Regression to Training dataset:
Implementation of Logistic Regression
7. Predicting the Test set results:
Implementation of Logistic Regression
8. Visualize the Train set results:
Implementation of Logistic Regression
9. Visualize the Test set results:
Implementation of Logistic Regression
11. Evaluating the model:
Understanding the Confusion Matrix:
N = 134 Predicted: No Predicted: Yes
Actual: No TN=79 FP=6
Actual: Yes FN=11 TP=38
Accuracy:
(TN+TP)/N
(79+38)/134 = 0.87
Misclassification Rate:
(FP+FN)/N
(6+11)/134 = 0.13
Decision Tree and
Random Forest
Decision Tree
Decision Tree is a tree where each node represents a feature (attribute), each link (branch) represents a decision and each leaf
represents an outcome (categorical or continuous value).
Should the person accept a new job offer?
Yes
Salary >
$60,000
Root Node
Accept a job offer?
Reject
Offer
No
Leaf node
Accept
offer
Yes
Reject
Offer
No
Reject
Offer
YesNo
Performance
Incentives
Decision
node
Commute > 1
hour
Implementation of Decision Tree
Decision Tree and Random Forest: Does Kyphosis exist after a surgery?
Bunch of kids Kyphosis surgery Predict kyphosis
present or absent?
Implementation of Decision Tree
Classification Tree for Kyphosis:
Start>=8.5
Absent 64/17
Present
8/11
No
Start>=14.5
Absent 56/6
Yes
Absent
12/0
Yes
Absent
29/0
Yes
Absent
12/2
Yes
Age<55
Absent 27/6
No
Age>=111
Absent 15/6
No
Present
3/4
No
Implementation of Decision Tree
1. Load the libraries:
2. Import the dataset and extract the independent and dependent variables:
Implementation of Decision Tree
3. Visualize the data:
Implementation of Decision Tree
4. Split the data into Train and Test set:
5. Train a Decision Tree:
Implementation of Decision Tree
6. Predict the Model:
Implementation of Decision Tree
N = 25 Predicted: No Predicted: Yes
Actual: No TN=16 FP=4
Actual: Yes FN=2 TP=3
7. Evaluate the Model:
Understanding the confusion matrix: Accuracy:
(TN+TP)/N
(16+3)/25 = 0.76
Misclassification Rate:
(FP+FN)/N
(4+2)/25 = 0.24
Improving performance using Random Forest
Compare the model using Random Forest Tree:
Accuracy:
(TN+TP)/N
(18+2)/25 = 0.80
Misclassification Rate:
(FP+FN)/N
(2+3)/25 = 0.20
Algorithm 5
K Nearest Neighbors
K Nearest Neighbors (KNN)
K Nearest Neighbors: KNN is a Classification algorithm generally used to predict categorical values.
Height(ft)
Weight (lbs)
Class Dog
1.5
3.5
2.0
3.0
2.5
1.0
0.5
0 65 75 9585 105
Class Cat
Weight (lbs)
Class Dog
1.5
3.5
2.0
3.0
2.5
1.0
0.5
0 65 75 9585 105
Height(ft)
New data
point
Class Cat
To find if a new data point is a or a ?
Choosing a K will define what class a new data point is assigned to:
K Nearest Neighbors
Height(ft)
Class Dog
Weight (lbs)
0.5
2.5
2.0
1.5
3.0
1.0
3.5
10565 75 85 95
Class Cat
K=3
If K=3, the new data point
belongs to class Cat
K=7
If K=7, the new data point
belongs to class Dog
Implementation of KNN
Predict if a person will buy an SUV based on Age and Estimated Salary
Age Estimated
Salary
Implementation of KNN
1. Load the Libraries:
2. Load the Dataset:
Implementation of KNN
3. Visualize the dataset:
Implementation of KNN
4. Split the data into Train and Test set:
5. Feature Scaling:
Implementation of KNN
6. Fit KNN to Train set:
7. Predict the Test set results:
Implementation of KNN
8. Visualize the Train set results:
Implementation of KNN
9. Visualize the Test set results:
Implementation of KNN
10. Evaluate the model by creating a confusion matrix:
Understanding the confusion matrix:
N = 100 Predicted: No Predicted: Yes
Actual: No TN=64 FP=4
Actual: Yes FN=3 TP=29
Accuracy:
(TN+TP)/N
(64+29)/100 = 0.93
Misclassification Rate:
(FP+FN)/N
(4+3)/100 = 0.07
Summary
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algorithms | Simplilearn

Weitere ähnliche Inhalte

Was ist angesagt?

Machine learning Algorithms
Machine learning AlgorithmsMachine learning Algorithms
Machine learning AlgorithmsWalaa Hamdy Assy
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningLior Rokach
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsMd. Main Uddin Rony
 
Machine learning seminar ppt
Machine learning seminar pptMachine learning seminar ppt
Machine learning seminar pptRAHUL DANGWAL
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)SwatiTripathi44
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learningbutest
 
Linear regression
Linear regressionLinear regression
Linear regressionMartinHogg9
 
Machine Learning
Machine LearningMachine Learning
Machine LearningRahul Kumar
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachinePulse
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep LearningOswald Campesato
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and RegressionMegha Sharma
 
Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Usama Fayyaz
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
Deep Learning Explained
Deep Learning ExplainedDeep Learning Explained
Deep Learning ExplainedMelanie Swan
 

Was ist angesagt? (20)

Clustering
ClusteringClustering
Clustering
 
Deep learning
Deep learningDeep learning
Deep learning
 
Machine learning Algorithms
Machine learning AlgorithmsMachine learning Algorithms
Machine learning Algorithms
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Machine learning seminar ppt
Machine learning seminar pptMachine learning seminar ppt
Machine learning seminar ppt
 
supervised learning
supervised learningsupervised learning
supervised learning
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
 
Introduction to Deep Learning
Introduction to Deep LearningIntroduction to Deep Learning
Introduction to Deep Learning
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and Regression
 
Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning
 
Deep learning presentation
Deep learning presentationDeep learning presentation
Deep learning presentation
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Deep Learning Explained
Deep Learning ExplainedDeep Learning Explained
Deep Learning Explained
 

Ähnlich wie Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algorithms | Simplilearn

Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkDavid Chiu
 
HRUG - Linear regression with R
HRUG - Linear regression with RHRUG - Linear regression with R
HRUG - Linear regression with Regoodwintx
 
Nss power point_machine_learning
Nss power point_machine_learningNss power point_machine_learning
Nss power point_machine_learningGauravsd2014
 
Post Graduate Admission Prediction System
Post Graduate Admission Prediction SystemPost Graduate Admission Prediction System
Post Graduate Admission Prediction SystemIRJET Journal
 
LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.
LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.
LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.Souma Maiti
 
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...Edureka!
 
IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...
IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...
IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...IRJET Journal
 
Egypt hackathon 2014 analytics & spss session
Egypt hackathon 2014   analytics & spss sessionEgypt hackathon 2014   analytics & spss session
Egypt hackathon 2014 analytics & spss sessionM Baddar
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9Roger Barga
 
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...Agile Testing Alliance
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
Loan Eligibility Checker
Loan Eligibility CheckerLoan Eligibility Checker
Loan Eligibility CheckerKiranVodela
 
1440 track 2 boire_using our laptop
1440 track 2 boire_using our laptop1440 track 2 boire_using our laptop
1440 track 2 boire_using our laptopRising Media, Inc.
 
Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...
Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...
Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...Simplilearn
 
Machine learning Chapter 1
Machine learning Chapter 1Machine learning Chapter 1
Machine learning Chapter 1JagadishPogu
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersSatyam Jaiswal
 

Ähnlich wie Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algorithms | Simplilearn (20)

Data Analysis - Making Big Data Work
Data Analysis - Making Big Data WorkData Analysis - Making Big Data Work
Data Analysis - Making Big Data Work
 
HRUG - Linear regression with R
HRUG - Linear regression with RHRUG - Linear regression with R
HRUG - Linear regression with R
 
Nss power point_machine_learning
Nss power point_machine_learningNss power point_machine_learning
Nss power point_machine_learning
 
Post Graduate Admission Prediction System
Post Graduate Admission Prediction SystemPost Graduate Admission Prediction System
Post Graduate Admission Prediction System
 
LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.
LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.
LOAN APPROVAL PRDICTION SYSTEM USING MACHINE LEARNING.
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
 
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
Data Analytics For Beginners | Introduction To Data Analytics | Data Analytic...
 
IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...
IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...
IRJET- Prediction of Crime Rate Analysis using Supervised Classification Mach...
 
Egypt hackathon 2014 analytics & spss session
Egypt hackathon 2014   analytics & spss sessionEgypt hackathon 2014   analytics & spss session
Egypt hackathon 2014 analytics & spss session
 
Employee mode of commuting
Employee mode of commutingEmployee mode of commuting
Employee mode of commuting
 
Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
 
Practical Machine Learning at Work
Practical Machine Learning at WorkPractical Machine Learning at Work
Practical Machine Learning at Work
 
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
#ATAGTR2021 Presentation : "Use of AI and ML in Performance Testing" by Adolf...
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
Loan Eligibility Checker
Loan Eligibility CheckerLoan Eligibility Checker
Loan Eligibility Checker
 
1440 track 2 boire_using our laptop
1440 track 2 boire_using our laptop1440 track 2 boire_using our laptop
1440 track 2 boire_using our laptop
 
Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...
Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...
Machine Learning Engineer Salary, Roles And Responsibilities, Skills and Resu...
 
Internship Presentation.pdf
Internship Presentation.pdfInternship Presentation.pdf
Internship Presentation.pdf
 
Machine learning Chapter 1
Machine learning Chapter 1Machine learning Chapter 1
Machine learning Chapter 1
 
Machine Learning Interview Questions and Answers
Machine Learning Interview Questions and AnswersMachine Learning Interview Questions and Answers
Machine Learning Interview Questions and Answers
 

Mehr von Simplilearn

ChatGPT in Cybersecurity
ChatGPT in CybersecurityChatGPT in Cybersecurity
ChatGPT in CybersecuritySimplilearn
 
Whatis SQL Injection.pptx
Whatis SQL Injection.pptxWhatis SQL Injection.pptx
Whatis SQL Injection.pptxSimplilearn
 
Top 5 High Paying Cloud Computing Jobs in 2023
 Top 5 High Paying Cloud Computing Jobs in 2023  Top 5 High Paying Cloud Computing Jobs in 2023
Top 5 High Paying Cloud Computing Jobs in 2023 Simplilearn
 
Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Simplilearn
 
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Simplilearn
 
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...Simplilearn
 
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Simplilearn
 
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...Simplilearn
 
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Simplilearn
 
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...Simplilearn
 
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Simplilearn
 
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Simplilearn
 
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Simplilearn
 
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...Simplilearn
 
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...Simplilearn
 
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...Simplilearn
 
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...Simplilearn
 
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...Simplilearn
 
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...Simplilearn
 
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...Simplilearn
 

Mehr von Simplilearn (20)

ChatGPT in Cybersecurity
ChatGPT in CybersecurityChatGPT in Cybersecurity
ChatGPT in Cybersecurity
 
Whatis SQL Injection.pptx
Whatis SQL Injection.pptxWhatis SQL Injection.pptx
Whatis SQL Injection.pptx
 
Top 5 High Paying Cloud Computing Jobs in 2023
 Top 5 High Paying Cloud Computing Jobs in 2023  Top 5 High Paying Cloud Computing Jobs in 2023
Top 5 High Paying Cloud Computing Jobs in 2023
 
Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024
 
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
 
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
 
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
 
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
 
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
 
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
 
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
 
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
 
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
 
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
 
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
 
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
How To Become an SEO Expert In 2023 | SEO Expert Tutorial | SEO For Beginners...
 
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
 
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
Blogging For Beginners 2023 | How To Create A Blog | Blogging Tutorial | Simp...
 
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
How To Start A Blog In 2023 | Pros And Cons Of Blogging | Blogging Tutorial |...
 
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
How to Increase Website Traffic ? | 10 Ways To Increase Website Traffic in 20...
 

Kürzlich hochgeladen

Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsRommel Regala
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 

Kürzlich hochgeladen (20)

Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World Politics
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 

Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algorithms | Simplilearn

  • 1.
  • 2. Machine Learning Example How does Snapchat filter work?
  • 5. Machine Learning Example Matrix of numbers Looks for color patterns on face
  • 6. Machine Learning Example Matrix of numbers Looks for color patterns on face Points align themselves and look for areas of contrast
  • 7. Machine Learning Example Matrix of numbers Looks for color patterns on face Points align themselves and look for areas of contrast
  • 8. What’s in it for you? Types of Machine Learning Algorithms Real World Applications of Machine Learning Processes involved in Machine Learning What is Machine Learning? Logistic Regression Linear Regression Decision Tree and Random forest K Nearest Neighbors Popular Algorithms with Hands On Demo
  • 9. Real World Applications of Machine Learning
  • 10. Real World Applications of Machine Learning Face Recognition Healthcare Industry Weather Forecasting Produce a Web Series Prepare a new Drink Siri and Cortana
  • 11. What is Machine Learning?
  • 12. What is Machine Learning? Machine Learning is the science of making computers learn and act like humans by feeding data and information without being explicitly programmed.
  • 13. What is Machine Learning? Past Data Machine Learning is the science of making computers learn and act like humans by feeding data and information without being explicitly programmed.
  • 14. What is Machine Learning? Past Data Analyses Machine Learning is the science of making computers learn and act like humans by feeding data and information without being explicitly programmed.
  • 15. What is Machine Learning? Past Data Analyses Trains Machine Learning is the science of making computers learn and act like humans by feeding data and information without being explicitly programmed.
  • 16. What is Machine Learning? Past Data Analyses Predicts Trains Machine Learning is the science of making computers learn and act like humans by feeding data and information without being explicitly programmed. Output
  • 17. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes
  • 18. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes Data Pre-Processing
  • 19. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes Data Pre-Processing Choose Model
  • 20. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes Data Pre-Processing Choose Model Train Model
  • 21. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes Data Pre-Processing Choose Model Train Model Test Model
  • 22. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes Data Pre-Processing Choose Model Train Model Test Model Tune Model
  • 23. Processes involved in Machine Learning Data Gathering 7Machine Learning Processes Data Pre-Processing Choose Model Train Model Test Model Tune Model Prediction
  • 24. Types of Machine Learning Algorithms VSupervised Learning Un-Supervised Learning Reinforcement Learning Machine Learning Association • Market Basket Analysis • Text Mining • Face Recognition Classification • Fraud Detection • Email Spam Detection • Image Classification Regression • Weather Forecasting • Risk Assessment • Score Prediction Clustering • Medical Research • City Planning • Targeted Marketing Reinforcement Learning • Gaming • Robot Navigation • Stock Trading • Assembly Line Processes
  • 25. Popular Algorithms in Machine Learning Algorithm 1 Linear Regression
  • 26. Popular Algorithms in Machine Learning Algorithm 1 Algorithm 2 Linear Regression Logistic Regression
  • 27. Popular Algorithms in Machine Learning Algorithm 1 Decision Tree Algorithm 2 Algorithm 3 Linear Regression Logistic Regression
  • 28. Popular Algorithms in Machine Learning Algorithm 1 Decision Tree Random Forest Algorithm 2 Algorithm 3 Algorithm 4 Linear Regression Logistic Regression
  • 29. Popular Algorithms in Machine Learning Algorithm 1 Decision Tree Random Forest K Nearest Neighbors Algorithm 2 Algorithm 3 Algorithm 4 Algorithm 5 Linear Regression Logistic Regression
  • 31. History of Linear Regression Linear Regression: Brief history on how Regression came into picture. Francis Galton Heights of Father and Son Studied Best fit line Regression Line Analyzed Height Data Mean Height of all People Regressed
  • 32. Linear Regression Linear Regression is a linear modelling approach to find relationship between one or more independent variables (predictors) denoted as X and dependent variable (target) denoted as Y. Temperature Sales Temperature Sales Regression line to predict the sales Plotting the sales of ice cream based on temperature Predict sales of Ice Cream based on temperature:
  • 33. Linear Regression Finding the best fit line: The best fit line can be found out by minimizing the distance between all the data points and the distance to the regression line. Ways to minimize this distance are sum of squared errors, sum of absolute errors etc. Distance between the data points and the line is maximum Not the best fit line
  • 34. Finding the best fit line: The best fit line can be found out by minimizing the distance between all the data points and the distance to the regression line. Ways to minimize this distance are sum of squared errors, sum of absolute errors etc. Linear Regression Not the best fit line Distance between the data points and the line can still be reduced
  • 35. Linear Regression Finding the best fit line: The best fit line can be found out by minimizing the distance between all the data points and the distance to the regression line. Ways to minimize this distance are sum of squared errors, sum of absolute errors etc. Distance between the data points and the line is the least Best fit regression line
  • 36. Implementation of Linear Regression Linear Regression: Predict Employee Salary based on Years of Experience. HR team trying to figure out how much to pay to a new joinee? Predict Salary How much do we pay her? New Joinee Years of experience Salary Employee data of Salary based on Years of experience
  • 37. Implementation of Linear Regression 1. Load the libraries: 2. Import the Dataset:
  • 38. Implementation of Linear Regression 3. Visualize the data:
  • 39. Implementation of Linear Regression 4. Split the data into training and testing set: 5. Fit Simple Linear Regression to the training dataset:
  • 40. Implementation of Linear Regression 6. Predict the test set results:
  • 41. Implementation of Linear Regression 7. Visualize the train set results:
  • 42. Implementation of Linear Regression 8. Visualize the test set results:
  • 43. Implementation of Linear Regression 9. Calculating the residuals: Since the RMSE value is too less, the model is a good model
  • 45. Logistic Regression Logistic Regression is a Classification algorithm used to predict discrete/ categorical values Who will default on their credit card payment?
  • 46. Logistic Regression Logistic Regression is a Classification algorithm used to predict discrete/ categorical values Who will default on their credit card payment? Credit card users
  • 47. Logistic Regression Logistic Regression is a Classification algorithm used to predict discrete/ categorical values Who will default on their credit card payment? Credit card users Make credit card transaction
  • 48. Logistic Regression Logistic Regression is a Classification algorithm used to predict discrete/ categorical values Who will default on their credit card payment? Credit card users Plot of monthly credit card balance and annual income Make credit card transaction
  • 49. Logistic Regression Plotting the Logistic Regression Curve: The Logistic Regression curve is known as the Sigmoid curve (S curve) Predicted Y lies in the range 0 and 1 1 1 + e-zP = Predicted Y can exceed the range 0 and 1 Y = m1x+c0
  • 50. Logistic Regression Plotting the Logistic Regression Curve: The Logistic Regression curve is known as the Sigmoid curve (S curve) Y = m1x+c0 0.5 Threshold value 0.5 Cutoff point at 0.5, anything below it results in 0 and above is 1 Red data point will default as it is above the threshold value of 0.5 and green data point won’t as it is below the threshold value
  • 51. Implementation of Logistic Regression Logistic Regression: Predict if a person will buy an SUV based on their Age and Estimated Salary Age Estimated Salary
  • 52. Implementation of Logistic Regression 1. Load the libraries: 2. Import the dataset and extract the independent and dependent variables:
  • 53. Implementation of Logistic Regression 3. Visualize the dataset:
  • 54. Implementation of Logistic Regression 4. Split the dataset into Training and Testing set: 5. Feature Scaling: 6. Fit Logistic Regression to Training dataset:
  • 55. Implementation of Logistic Regression 7. Predicting the Test set results:
  • 56. Implementation of Logistic Regression 8. Visualize the Train set results:
  • 57. Implementation of Logistic Regression 9. Visualize the Test set results:
  • 58. Implementation of Logistic Regression 11. Evaluating the model: Understanding the Confusion Matrix: N = 134 Predicted: No Predicted: Yes Actual: No TN=79 FP=6 Actual: Yes FN=11 TP=38 Accuracy: (TN+TP)/N (79+38)/134 = 0.87 Misclassification Rate: (FP+FN)/N (6+11)/134 = 0.13
  • 60. Decision Tree Decision Tree is a tree where each node represents a feature (attribute), each link (branch) represents a decision and each leaf represents an outcome (categorical or continuous value). Should the person accept a new job offer? Yes Salary > $60,000 Root Node Accept a job offer? Reject Offer No Leaf node Accept offer Yes Reject Offer No Reject Offer YesNo Performance Incentives Decision node Commute > 1 hour
  • 61. Implementation of Decision Tree Decision Tree and Random Forest: Does Kyphosis exist after a surgery? Bunch of kids Kyphosis surgery Predict kyphosis present or absent?
  • 62. Implementation of Decision Tree Classification Tree for Kyphosis: Start>=8.5 Absent 64/17 Present 8/11 No Start>=14.5 Absent 56/6 Yes Absent 12/0 Yes Absent 29/0 Yes Absent 12/2 Yes Age<55 Absent 27/6 No Age>=111 Absent 15/6 No Present 3/4 No
  • 63. Implementation of Decision Tree 1. Load the libraries: 2. Import the dataset and extract the independent and dependent variables:
  • 64. Implementation of Decision Tree 3. Visualize the data:
  • 65. Implementation of Decision Tree 4. Split the data into Train and Test set: 5. Train a Decision Tree:
  • 66. Implementation of Decision Tree 6. Predict the Model:
  • 67. Implementation of Decision Tree N = 25 Predicted: No Predicted: Yes Actual: No TN=16 FP=4 Actual: Yes FN=2 TP=3 7. Evaluate the Model: Understanding the confusion matrix: Accuracy: (TN+TP)/N (16+3)/25 = 0.76 Misclassification Rate: (FP+FN)/N (4+2)/25 = 0.24
  • 68. Improving performance using Random Forest Compare the model using Random Forest Tree: Accuracy: (TN+TP)/N (18+2)/25 = 0.80 Misclassification Rate: (FP+FN)/N (2+3)/25 = 0.20
  • 70. K Nearest Neighbors (KNN) K Nearest Neighbors: KNN is a Classification algorithm generally used to predict categorical values. Height(ft) Weight (lbs) Class Dog 1.5 3.5 2.0 3.0 2.5 1.0 0.5 0 65 75 9585 105 Class Cat Weight (lbs) Class Dog 1.5 3.5 2.0 3.0 2.5 1.0 0.5 0 65 75 9585 105 Height(ft) New data point Class Cat To find if a new data point is a or a ?
  • 71. Choosing a K will define what class a new data point is assigned to: K Nearest Neighbors Height(ft) Class Dog Weight (lbs) 0.5 2.5 2.0 1.5 3.0 1.0 3.5 10565 75 85 95 Class Cat K=3 If K=3, the new data point belongs to class Cat K=7 If K=7, the new data point belongs to class Dog
  • 72. Implementation of KNN Predict if a person will buy an SUV based on Age and Estimated Salary Age Estimated Salary
  • 73. Implementation of KNN 1. Load the Libraries: 2. Load the Dataset:
  • 74. Implementation of KNN 3. Visualize the dataset:
  • 75. Implementation of KNN 4. Split the data into Train and Test set: 5. Feature Scaling:
  • 76. Implementation of KNN 6. Fit KNN to Train set: 7. Predict the Test set results:
  • 77. Implementation of KNN 8. Visualize the Train set results:
  • 78. Implementation of KNN 9. Visualize the Test set results:
  • 79. Implementation of KNN 10. Evaluate the model by creating a confusion matrix: Understanding the confusion matrix: N = 100 Predicted: No Predicted: Yes Actual: No TN=64 FP=4 Actual: Yes FN=3 TP=29 Accuracy: (TN+TP)/N (64+29)/100 = 0.93 Misclassification Rate: (FP+FN)/N (4+3)/100 = 0.07

Hinweis der Redaktion

  1. Style - 01
  2. Style - 01
  3. Style - 01
  4. Style - 01
  5. Style - 01
  6. Style - 01
  7. Style - 01
  8. Style - 01
  9. Style - 01
  10. Style - 01
  11. Style - 01
  12. Style - 01
  13. Style - 01
  14. Style - 01
  15. Style - 01
  16. Style - 01
  17. Style - 01
  18. Style - 01
  19. Style - 01
  20. Style - 01
  21. Style - 01
  22. Style - 01
  23. Style - 01
  24. Style - 01
  25. Style - 01
  26. Style - 01
  27. Style - 01
  28. Style - 01
  29. Style - 01
  30. Style - 01
  31. Style - 01
  32. Style - 01
  33. Style - 01
  34. Style - 01
  35. Style - 01
  36. Style - 01
  37. Style - 01
  38. Style - 01
  39. Style - 01
  40. Style - 01
  41. Style - 01
  42. Style - 01
  43. Style - 01
  44. Style - 01
  45. Style - 01
  46. Style - 01
  47. Style - 01
  48. Style - 01
  49. Style - 01
  50. Style - 01
  51. Style - 01
  52. Style - 01
  53. Style - 01
  54. Style - 01
  55. Style - 01
  56. Style - 01
  57. Style - 01
  58. Style - 01
  59. Style - 01
  60. Style - 01
  61. Style - 01
  62. Style - 01
  63. Style - 01
  64. Style - 01
  65. Style - 01
  66. Style - 01
  67. Style - 01
  68. Style - 01
  69. Style - 01
  70. Style - 01
  71. Style - 01
  72. Style - 01
  73. Style - 01
  74. Style - 01
  75. Style - 01
  76. Style - 01
  77. Style - 01
  78. Style - 01