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

What's hot (20)

PDF
Classification Based Machine Learning Algorithms
Md. Main Uddin Rony
 
PPTX
Support Vector Machines- SVM
Carlo Carandang
 
PPTX
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Simplilearn
 
PPTX
K-Nearest Neighbor Classifier
Neha Kulkarni
 
PPTX
Supervised Unsupervised and Reinforcement Learning
Aakash Chotrani
 
PDF
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
Sebastian Raschka
 
PPTX
Backpropagation And Gradient Descent In Neural Networks | Neural Network Tuto...
Simplilearn
 
PDF
Feature selection
Dong Guo
 
PDF
Deep Learning - Convolutional Neural Networks
Christian Perone
 
PPTX
Naive bayes
Ashraf Uddin
 
PPTX
Support vector machine
zekeLabs Technologies
 
PDF
Logistic regression in Machine Learning
Kuppusamy P
 
PPTX
Lstm
Mehrnaz Faraz
 
PDF
Support Vector Machines ( SVM )
Mohammad Junaid Khan
 
PDF
Decision Tree Algorithm | Decision Tree in Python | Machine Learning Algorith...
Edureka!
 
PPTX
Hyperparameter Tuning
Jon Lederman
 
PDF
Deep learning - A Visual Introduction
Lukas Masuch
 
PPTX
Lecture 18: Gaussian Mixture Models and Expectation Maximization
butest
 
PPTX
Introduction to Transformer Model
Nuwan Sriyantha Bandara
 
PDF
Naive Bayes
CloudxLab
 
Classification Based Machine Learning Algorithms
Md. Main Uddin Rony
 
Support Vector Machines- SVM
Carlo Carandang
 
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Simplilearn
 
K-Nearest Neighbor Classifier
Neha Kulkarni
 
Supervised Unsupervised and Reinforcement Learning
Aakash Chotrani
 
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
Sebastian Raschka
 
Backpropagation And Gradient Descent In Neural Networks | Neural Network Tuto...
Simplilearn
 
Feature selection
Dong Guo
 
Deep Learning - Convolutional Neural Networks
Christian Perone
 
Naive bayes
Ashraf Uddin
 
Support vector machine
zekeLabs Technologies
 
Logistic regression in Machine Learning
Kuppusamy P
 
Support Vector Machines ( SVM )
Mohammad Junaid Khan
 
Decision Tree Algorithm | Decision Tree in Python | Machine Learning Algorith...
Edureka!
 
Hyperparameter Tuning
Jon Lederman
 
Deep learning - A Visual Introduction
Lukas Masuch
 
Lecture 18: Gaussian Mixture Models and Expectation Maximization
butest
 
Introduction to Transformer Model
Nuwan Sriyantha Bandara
 
Naive Bayes
CloudxLab
 

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

DOCX
Prediction of quality for different type of winebased on different feature se...
Venkat Projects
 
DOCX
Prediction of quality for different type of winebased on different feature se...
Venkat Projects
 
PPTX
Datamining & warehouse
nibiganesh
 
PPTX
Lec_XX_Support Vector Machine Algorithm.pptx
piwig56192
 
DOCX
Software defect estimation using machine learning algorithms
Venkat Projects
 
DOCX
Software defect estimation using machine learning algorithms
Venkat Projects
 
DOCX
Network intrusion detection using supervised machine learning technique with ...
CloudTechnologies
 
PDF
KNN Algorithm Using R | Edureka
Edureka!
 
PPTX
Machine learning - session 5
Luis Borbon
 
PPTX
Chapter8_What_Is_Machine_Learning Testing Cases
Ghazanfar Latif (Gabe)
 
PPTX
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
PPTX
ECKOVATION_MACHINE LEARNING
Spriha Srivastava
 
PPTX
sentiment analysis using support vector machine
Shital Andhale
 
PDF
Machine learning Algorithms
Walaa Hamdy Assy
 
PPTX
Supervised Machine Learning
Livares Technologies Pvt Ltd
 
PPTX
Deep learning based on support vector machine (SVM)
Parham Zilouchian
 
PPTX
Support Vector Machine and Implementation using Weka
Macha Pujitha
 
PPTX
ARTIFICAL INTELLEGENCE AND MACHINCE LEARNING
dipapalanivel
 
PPTX
Presentazione tutorial
dariospin93
 
PDF
Machine Learning_Unit 2_Full.ppt.pdf
Dr.DHANALAKSHMI SENTHILKUMAR
 
Prediction of quality for different type of winebased on different feature se...
Venkat Projects
 
Prediction of quality for different type of winebased on different feature se...
Venkat Projects
 
Datamining & warehouse
nibiganesh
 
Lec_XX_Support Vector Machine Algorithm.pptx
piwig56192
 
Software defect estimation using machine learning algorithms
Venkat Projects
 
Software defect estimation using machine learning algorithms
Venkat Projects
 
Network intrusion detection using supervised machine learning technique with ...
CloudTechnologies
 
KNN Algorithm Using R | Edureka
Edureka!
 
Machine learning - session 5
Luis Borbon
 
Chapter8_What_Is_Machine_Learning Testing Cases
Ghazanfar Latif (Gabe)
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
ECKOVATION_MACHINE LEARNING
Spriha Srivastava
 
sentiment analysis using support vector machine
Shital Andhale
 
Machine learning Algorithms
Walaa Hamdy Assy
 
Supervised Machine Learning
Livares Technologies Pvt Ltd
 
Deep learning based on support vector machine (SVM)
Parham Zilouchian
 
Support Vector Machine and Implementation using Weka
Macha Pujitha
 
ARTIFICAL INTELLEGENCE AND MACHINCE LEARNING
dipapalanivel
 
Presentazione tutorial
dariospin93
 
Machine Learning_Unit 2_Full.ppt.pdf
Dr.DHANALAKSHMI SENTHILKUMAR
 
Ad

More from Edureka! (20)

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

Recently uploaded (20)

PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PPTX
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
Kubernetes - Architecture & Components.pdf
geethak285
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 

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.