SlideShare a Scribd company logo
SVM Algorithm Explained | Support Vector Machine Tutorial Using R | Edureka
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Agenda
Introduction to
Machine Learning
What Is SVM?
How does SVM work?
Non-Linear SVM
SVM Use case
Demo
01
02
03
04
05
06
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Introduction To Machine Learning
Machine learning is a subset of artificial intelligence (AI) which
provides machines the ability to learn automatically & improve from
experience without being explicitly programmed.
What Is Machine
Learning? Continuously
feed data
Machine learning is a subset of artificial intelligence (AI) which
provides machines the ability to learn automatically & improve from
experience without being explicitly programmed.
What Is Machine
Learning? Continuously
feed data
Predicted
output
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Types Of Machine Learning
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Types Of Machine Learning
Reinforcement LearningSupervised Learning Unsupervised Learning
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
What Is SVM?
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
What Is SVM?
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
Supervised machine
learning algorithm
Classification &
Regression algorithm
SVM kernel
functions
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
Margin
Hyperplane
Support Vectors
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
How Does SVM Work?
Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
So far so good…
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Introduction to Non-Linear SVM
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Non-Linear SVM
How do I separate this
data?
Non-linear SVM is used when the data can’t be separated using a straight line
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Non-Linear SVM
How do I separate this
data?
Non-linear SVM is used when the data can’t be separated using a straight line
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Non-Linear SVM
Now I can easily
classify the data
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
SVM Use Case
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
SVM – Colon Cancer Classification
A collection of transmembrane protein
samples
SVM dataset containing
50-200 samples
40 colon cancer
tumours
22 normal colon
samples
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Problem Statement
SVM dataset with
50-200 gene samples
40 colon cancer
tumours
22 normal colon
samples
To classify gene samples based on whether they are cancerous or not
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
SVM – Colon Cancer Classification
SVM Algorithm
Gene samples
Colon cancer tumours
Normal colon tissues
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Hands – On
YouTube Video Link in the Description
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
Demo
SVM algorithm
Problem Statement: To Study a heart disease dataset and to model a classifier for predicting whether a
patient is suffering from any heart disease or not
Patient suffering
from heart disease
No heart disease
predicted
DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science
WebDriver vs. IDE vs. RC
➢ Data Warehouse is like a relational database designed for analytical needs.
➢ It functions on the basis of OLAP (Online Analytical Processing).
➢ It is a central location where consolidated data from multiple locations (databases) are stored.

More Related Content

PPTX
Naive bayes
PDF
Decision Tree Algorithm | Decision Tree in Python | Machine Learning Algorith...
PPTX
K Means Clustering Algorithm | K Means Clustering Example | Machine Learning ...
PDF
Introduction to Machine Learning Classifiers
PPTX
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
PDF
Lecture1 introduction to machine learning
PDF
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
PPTX
Perceptron & Neural Networks
Naive bayes
Decision Tree Algorithm | Decision Tree in Python | Machine Learning Algorith...
K Means Clustering Algorithm | K Means Clustering Example | Machine Learning ...
Introduction to Machine Learning Classifiers
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Lecture1 introduction to machine learning
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Perceptron & Neural Networks

What's hot (20)

PPTX
Gradient descent method
PPTX
Knn Algorithm presentation
PDF
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
PPTX
Supervised learning
PPTX
Random forest algorithm
PPTX
Module 4 part_1
PDF
Module 4: Model Selection and Evaluation
PPTX
Support vector machine
PDF
Essential concepts for machine learning
PDF
Deep Belief Networks
PPTX
Machine learning
PPT
Basics of Machine Learning
PPTX
One R (1R) Algorithm
PDF
The fundamentals of Machine Learning
PDF
Data preprocessing using Machine Learning
PPTX
Support vector machines (svm)
PPT
Support Vector machine
PDF
Nlp and transformer (v3s)
PPTX
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
PPTX
Machine Learning Algorithms
Gradient descent method
Knn Algorithm presentation
Logistic Regression in Python | Logistic Regression Example | Machine Learnin...
Supervised learning
Random forest algorithm
Module 4 part_1
Module 4: Model Selection and Evaluation
Support vector machine
Essential concepts for machine learning
Deep Belief Networks
Machine learning
Basics of Machine Learning
One R (1R) Algorithm
The fundamentals of Machine Learning
Data preprocessing using Machine Learning
Support vector machines (svm)
Support Vector machine
Nlp and transformer (v3s)
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Machine Learning Algorithms
Ad

Similar to SVM Algorithm Explained | Support Vector Machine Tutorial Using R | Edureka (20)

PPTX
Support Vector Machine (SVM)
PPTX
Support vector machine
PPTX
sentiment analysis using support vector machine
PPTX
SUPPORT VECTOR MACHINE ( SVM)akjhgaskjdgjksdgajkgdagdaakg[1].pptx
PPTX
Svm classifier
PPTX
22PCOAM16 Unit 2 Session 17 Support vector Machine.pptx
PDF
Support vector-machines-presentation
PPTX
Support Vector Machine ppt presentation
PDF
A survey of modified support vector machine using particle of swarm optimizat...
PPTX
Classification-Support Vector Machines.pptx
PPTX
Support vector machines
PPTX
PDF
IRJET- Breast Cancer Relapse Prognosis by Classic and Modern Structures o...
DOCX
introduction to machine learning unit iv
PPTX
Introduction-to-SVM-Models_presentation.pptx
PPTX
support vector machines ML Algorithmnppt.pptx
PPTX
ML-Lec-17-SVM,sshwqw - Non-Linear (1).pptx
PDF
Understanding Support Vector Machines | IABAC
PPTX
Kate · SlidesCarnival.pptx
Support Vector Machine (SVM)
Support vector machine
sentiment analysis using support vector machine
SUPPORT VECTOR MACHINE ( SVM)akjhgaskjdgjksdgajkgdagdaakg[1].pptx
Svm classifier
22PCOAM16 Unit 2 Session 17 Support vector Machine.pptx
Support vector-machines-presentation
Support Vector Machine ppt presentation
A survey of modified support vector machine using particle of swarm optimizat...
Classification-Support Vector Machines.pptx
Support vector machines
IRJET- Breast Cancer Relapse Prognosis by Classic and Modern Structures o...
introduction to machine learning unit iv
Introduction-to-SVM-Models_presentation.pptx
support vector machines ML Algorithmnppt.pptx
ML-Lec-17-SVM,sshwqw - Non-Linear (1).pptx
Understanding Support Vector Machines | IABAC
Kate · SlidesCarnival.pptx
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation theory and applications.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation theory and applications.pdf
The AUB Centre for AI in Media Proposal.docx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25-Week II
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
20250228 LYD VKU AI Blended-Learning.pptx
A Presentation on Artificial Intelligence
MIND Revenue Release Quarter 2 2025 Press Release
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars

SVM Algorithm Explained | Support Vector Machine Tutorial Using R | Edureka

  • 2. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Agenda Introduction to Machine Learning What Is SVM? How does SVM work? Non-Linear SVM SVM Use case Demo 01 02 03 04 05 06
  • 3. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Introduction To Machine Learning
  • 4. Machine learning is a subset of artificial intelligence (AI) which provides machines the ability to learn automatically & improve from experience without being explicitly programmed. What Is Machine Learning? Continuously feed data
  • 5. Machine learning is a subset of artificial intelligence (AI) which provides machines the ability to learn automatically & improve from experience without being explicitly programmed. What Is Machine Learning? Continuously feed data Predicted output
  • 6. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Types Of Machine Learning
  • 7. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Types Of Machine Learning Reinforcement LearningSupervised Learning Unsupervised Learning
  • 8. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science What Is SVM?
  • 9. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science What Is SVM? Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes. Supervised machine learning algorithm Classification & Regression algorithm SVM kernel functions
  • 10. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work?
  • 11. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work? Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
  • 12. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work? Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
  • 13. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work? Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
  • 14. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work? Margin Hyperplane Support Vectors Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
  • 15. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work? Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
  • 16. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science How Does SVM Work? Support Vector Machine (SVM) is a supervised classification method that separates data using hyperplanes.
  • 17. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science So far so good…
  • 18. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Introduction to Non-Linear SVM
  • 19. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Non-Linear SVM How do I separate this data? Non-linear SVM is used when the data can’t be separated using a straight line
  • 20. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Non-Linear SVM How do I separate this data? Non-linear SVM is used when the data can’t be separated using a straight line
  • 21. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Non-Linear SVM Now I can easily classify the data
  • 22. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science SVM Use Case
  • 23. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science SVM – Colon Cancer Classification A collection of transmembrane protein samples SVM dataset containing 50-200 samples 40 colon cancer tumours 22 normal colon samples
  • 24. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Problem Statement SVM dataset with 50-200 gene samples 40 colon cancer tumours 22 normal colon samples To classify gene samples based on whether they are cancerous or not
  • 25. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science SVM – Colon Cancer Classification SVM Algorithm Gene samples Colon cancer tumours Normal colon tissues
  • 26. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Hands – On YouTube Video Link in the Description
  • 27. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science Demo SVM algorithm Problem Statement: To Study a heart disease dataset and to model a classifier for predicting whether a patient is suffering from any heart disease or not Patient suffering from heart disease No heart disease predicted
  • 28. DATA SCIENCE CERTIFICATION TRAINING www.edureka.co/data-science WebDriver vs. IDE vs. RC ➢ Data Warehouse is like a relational database designed for analytical needs. ➢ It functions on the basis of OLAP (Online Analytical Processing). ➢ It is a central location where consolidated data from multiple locations (databases) are stored.