Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
By
Ruta Ashok Kambli
(122071013)
Event Classification & Prediction Using
Support Vector Machine
Scope of Presentation
 Introduction
 Support Vector Machine(SVM)
 Hard-margin SVM
 Soft -margin SVM
 Kernels
 Multiclass classification
 SVM Model Selection
 Case Studies & Results
 Conclusion
Introduction
 Classification & Prediction
 Machine Learning
 Support Vector Machine
Machine
learning
Unsupervised
learning
Clustering
K-mean
Herarchial
Neural
network
Supervised
learning
Classification
SVM
Neural
Network
Decision tree
Regression
Support Vector
Machines
• Supervised machine learning model.
• Analyse data and recognize patterns.
• Used for classification and regression
analysis.
Binary Classification
Consider training data set (𝑥𝑖, 𝑦𝑖) for (i = 1, . . . , M),
with 𝑥𝑖 ∈ ℝ 𝑑
and 𝑦𝑖 ∈ {−1, 1}, learn a classifier
D(x) such that,
𝐷(𝑥𝑖)
≥ 1, 𝑓𝑜𝑟 𝑦𝑖 = 1
≤ −1, 𝑓𝑜𝑟 𝑦𝑖 = −1
……(1)
ie. 𝑦𝑖 𝐷 𝑥𝑖 ≥ 1 for a correct classification.
Binary Classification
x1
x2
denotes +1
denotes -1
 How would you classify these
points using a linear
discriminant function in order
to minimize the error rate?
Binary Classificationdenotes +1
denotes -1
x1
x2
 Infinite number of answers!
 How would you classify these
points using a linear
discriminant function in order
to minimize the error rate?
Binary Classificationdenotes +1
denotes -1
x1
x2
 Infinite number of answers!
 How would you classify these
points using a linear
discriminant function in order
to minimize the error rate?
Binary Classificationdenotes +1
denotes -1
x1
x2
 Infinite number of answers!
x1
x2 How would you classify these
points using a linear
discriminant function in order
to minimize the error rate?
Binary Classificationdenotes +1
denotes -1
 Infinite number of answers!
 Which one is the best?
Binary Classification
“safe zone”
 We have to find out the
optimal hyperplane with the
maximum margin.
 Margin is defined as the
width that the boundary
could be increased by before
hitting a data point
 Why it is the best?
 Robust to outliners and thus
strong generalization ability.
Margin
x1
x2
denotes +1
denotes -1
Hard-margin SVM
Minimise : 𝑄 𝑤, 𝑏 =
1
2
𝑤 2
…….(2)
Subject to: 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 ≥ 1 𝑓𝑜𝑟 𝑖 = (1, … … , 𝑀)
…….(3)
Q(w, b,𝛼)=𝑊 𝑇
𝑊 − 𝑖=1
𝑀
𝛼𝑖 𝑦𝑖 𝑤 𝑇
𝑥𝑖 + 𝑏 − 1 ……(4)
Where 𝛼 = (𝛼𝑖, … … 𝛼 𝑀) and 𝛼𝑖 are the nonnegative Lagrange
multipliers.
• The optimal solution of (4) is given by the saddle
point.
• Where (4) is minimized with respect to w
• Maximized with respect to 𝛼𝑖 (≥ 0)
• Maximized or minimized with respect to b
according to the sign 𝑖=1
𝑀
𝛼𝑖 𝑦𝑖
Soft- margin SVM
𝑦𝑖 𝑤 𝑇
𝑥𝑖 + 𝑏 ≥ 1 − 𝜉𝑖 𝑓𝑜𝑟 𝑖 = 1, … … , 𝑀 …….(7)
Soft margin SVM
𝑚𝑖𝑛𝑖𝑚𝑖𝑠𝑒 𝑄 𝑤, 𝑏, 𝜉 =
1
2
𝑤 2
+
𝐶
𝑃 𝑖=1
𝑀
𝜉𝑖
𝑃
……..(5)
𝑆𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 ≥ 1 − 𝜉𝑖 𝑓𝑜𝑟 𝑖 = 1, … … , 𝑀 ….(6)
𝑄 𝑤, 𝑏, 𝛼, 𝛽
=
1
2
𝑤 2 + 𝐶
𝑖=1
𝑀
𝜉𝑖 −
𝑖=1
𝑀
𝛼𝑖 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 − 1 + 𝜉𝑖 −
𝑖=1
𝑀
𝛽𝑖 𝜉𝑖
……(7)
Kernels
Types of Kernel Function
Polynomial
Radial Base function(RBF)
Sigmoid
Multiclass Classification
 Initially SVM is Binary Classifier.
 Most of the practical applications involve
multiclass classification.
 One against One Approach.
 If n is the number of classes, we generate
n(n-1)/2 models.
 It is not practical for large-scale linear
classification.
SVM Model
Margin Parameter (C) Selection
SVM Model
Kernel Parameter Selection
K-fold Cross Validation
 Create a K-fold partition of the dataset.
 For each of K experiments, use K-1 folds for training
and the remaining one for testing.
 The advantage of K-Fold Cross validation is that all
the examples in the dataset are eventually used for
both training and testing
Classification using
SVM
Data acquisition
using NI-Elvis
Feature
selection using
Wavelate
Feature
classification
using SVM
Data acquisition using NI-Elvis
 Two connectors are
connected to Flexor
Digitorum supercialis
(FDS) muscle.
 The readings are
taken for different
hand movements.
Data acquisition using NI-Elvis
This is time verses
amplitude graph of hand
movement data.
 Class 1 :open hand
 Class 2 : closed hand
 Class 3 :wrist flexion
Event classification & prediction using support vector machine
Results (training & testing)
Subject Training Accuracy (%) Testing Accuracy(%)
Male1 89.5833 86.3636
Male2 93.75 79.1667
Female 1 90 80
Blackout Prediction
Using SVM
Probabilistic Model
Event classification & prediction using support vector machine
Kernel Selection
Kernel Training Accuracy % Testing Accuracy%
Polynomial 100 94.44
Radial 100 100
Sigmoid 52.63 38.89
Margin Parameter Selection
Kernel Parameter
Selection
Conclusion
 Results of first case study show that, single
channel surface Electromyogram analysis is
simple, less expensive and effective.
 The second case study shows, using blackout
prediction model we can predict blackout before it
occurs.
 Here output of SVM is given to emergency control
system, which initiates the prevention mechanism
against the blackout.
Refferences
1. “Support Vector Machines for Pattern
Classification” by Shigeo Abe
2. “Classification of low-level finger contraction
from single channel Surface EMG” by Vijay Pal
Singh and Dinesh Kant Kumar
3. “Fault Location in Power Distribution System
with Distributed Generation Using Support
Vector Machine,” by Agrawal, R.Thukaram
4. M. R. Ahsan, M. I. Ibrahimy, and O. O. Khalifa,
“EMG signal classication for human computer
interaction: A review,"European Journal of
Scientic Research, vol. 33, no. 3, pp. 480-501,
2009.
References
5. J. Kim, S. Mastnik, and E. Andr,”EMG-based
hand gesture recognition for realtime biosignal
interfacing,"13th international conference on
Intelligent user interfaces, 2008, pp.3039.
6. K. Englehart and B. Hudgins, “A robust, real-
time control scheme for multifunction
myoelectric control,"Biomedical Engineering,
IEEE Transactions on, vol. 50, no. 7, pp.
848854, 2003.
7. C Rudin, D Waltz, and R N Anderson, “Machine
learning for the new york city power grid,"IEEE
Trans. on Pattern analysis and machine
intelligence , VOL. 34, NO. 2, February 2011
THANK YOU

More Related Content

What's hot

Longest Common Subsequence
Longest Common SubsequenceLongest Common Subsequence
Longest Common Subsequence
Krishma Parekh
 
Discrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofsDiscrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofs
Amr Rashed
 
Backtracking
BacktrackingBacktracking
Backtracking
Sally Salem
 
Asymptotic analysis
Asymptotic analysisAsymptotic analysis
Asymptotic analysis
Soujanya V
 
String matching algorithms
String matching algorithmsString matching algorithms
String matching algorithms
Ashikapokiya12345
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtracking
mandlapure
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
Salem-Kabbani
 
Knowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningKnowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and Reasoning
Sagacious IT Solution
 
Back tracking and branch and bound class 20
Back tracking and branch and bound class 20Back tracking and branch and bound class 20
Back tracking and branch and bound class 20
Kumar
 
Traveling Salesman Problem
Traveling Salesman Problem Traveling Salesman Problem
Traveling Salesman Problem
Indian Institute of Technology, Roorkee
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and Examples
Fahim Ferdous
 
Shortest path algorithms
Shortest path algorithmsShortest path algorithms
Shortest path algorithms
Amit Kumar Rathi
 
01 Knapsack using Dynamic Programming
01 Knapsack using Dynamic Programming01 Knapsack using Dynamic Programming
01 Knapsack using Dynamic Programming
Fenil Shah
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman Problem
Daniel Raditya
 
2-Approximation Vertex Cover
2-Approximation Vertex Cover2-Approximation Vertex Cover
2-Approximation Vertex Cover
Kowshik Roy
 
implementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity pptimplementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity ppt
AntaraBhattacharya12
 
Divide and conquer
Divide and conquerDivide and conquer
Divide and conquer
ramya marichamy
 
Shortest Path in Graph
Shortest Path in GraphShortest Path in Graph
Shortest Path in Graph
Dr Sandeep Kumar Poonia
 
Forward checking
Forward checkingForward checking
Forward checking
ssuserd3b76e
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
SHUBHAM KUMAR GUPTA
 

What's hot (20)

Longest Common Subsequence
Longest Common SubsequenceLongest Common Subsequence
Longest Common Subsequence
 
Discrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofsDiscrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofs
 
Backtracking
BacktrackingBacktracking
Backtracking
 
Asymptotic analysis
Asymptotic analysisAsymptotic analysis
Asymptotic analysis
 
String matching algorithms
String matching algorithmsString matching algorithms
String matching algorithms
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtracking
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
Knowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and ReasoningKnowledge Representation, Inference and Reasoning
Knowledge Representation, Inference and Reasoning
 
Back tracking and branch and bound class 20
Back tracking and branch and bound class 20Back tracking and branch and bound class 20
Back tracking and branch and bound class 20
 
Traveling Salesman Problem
Traveling Salesman Problem Traveling Salesman Problem
Traveling Salesman Problem
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and Examples
 
Shortest path algorithms
Shortest path algorithmsShortest path algorithms
Shortest path algorithms
 
01 Knapsack using Dynamic Programming
01 Knapsack using Dynamic Programming01 Knapsack using Dynamic Programming
01 Knapsack using Dynamic Programming
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman Problem
 
2-Approximation Vertex Cover
2-Approximation Vertex Cover2-Approximation Vertex Cover
2-Approximation Vertex Cover
 
implementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity pptimplementation of travelling salesman problem with complexity ppt
implementation of travelling salesman problem with complexity ppt
 
Divide and conquer
Divide and conquerDivide and conquer
Divide and conquer
 
Shortest Path in Graph
Shortest Path in GraphShortest Path in Graph
Shortest Path in Graph
 
Forward checking
Forward checkingForward checking
Forward checking
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 

Viewers also liked

Support Vector Machine
Support Vector MachineSupport Vector Machine
Support Vector Machine
Shao-Chuan Wang
 
Support Vector Machines
Support Vector MachinesSupport Vector Machines
Support Vector Machines
nextlib
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
Prakash Pimpale
 
Support Vector Machine for Wind Speed Prediction
Support Vector Machine for Wind Speed PredictionSupport Vector Machine for Wind Speed Prediction
Support Vector Machine for Wind Speed Prediction
IJRST Journal
 
Complex Support Vector Machines For Quaternary Classification
Complex Support Vector Machines For Quaternary ClassificationComplex Support Vector Machines For Quaternary Classification
Complex Support Vector Machines For Quaternary Classification
Pantelis Bouboulis
 
Support Vector Machines
Support Vector MachinesSupport Vector Machines
Support Vector Machines
guestfee8698
 
Multiclass classification using Massively Threaded Multiprocessors
Multiclass classification using Massively Threaded MultiprocessorsMulticlass classification using Massively Threaded Multiprocessors
Multiclass classification using Massively Threaded Multiprocessors
sergherrero
 
Support Vector Machine
Support Vector MachineSupport Vector Machine
Support Vector Machine
Putri Wikie
 
Support Vector Machine without tears
Support Vector Machine without tearsSupport Vector Machine without tears
Support Vector Machine without tears
Ankit Sharma
 
Support Vector machine
Support Vector machineSupport Vector machine
Support Vector machine
Anandha L Ranganathan
 
Tweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVM
Trilok Sharma
 
Multidimensional RNN
Multidimensional RNNMultidimensional RNN
Multidimensional RNN
Grigory Sapunov
 
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
Treparel
 
2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines
2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines
2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines
Dongseo University
 
Data Science - Part IX - Support Vector Machine
Data Science - Part IX -  Support Vector MachineData Science - Part IX -  Support Vector Machine
Data Science - Part IX - Support Vector Machine
Derek Kane
 

Viewers also liked (15)

Support Vector Machine
Support Vector MachineSupport Vector Machine
Support Vector Machine
 
Support Vector Machines
Support Vector MachinesSupport Vector Machines
Support Vector Machines
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
 
Support Vector Machine for Wind Speed Prediction
Support Vector Machine for Wind Speed PredictionSupport Vector Machine for Wind Speed Prediction
Support Vector Machine for Wind Speed Prediction
 
Complex Support Vector Machines For Quaternary Classification
Complex Support Vector Machines For Quaternary ClassificationComplex Support Vector Machines For Quaternary Classification
Complex Support Vector Machines For Quaternary Classification
 
Support Vector Machines
Support Vector MachinesSupport Vector Machines
Support Vector Machines
 
Multiclass classification using Massively Threaded Multiprocessors
Multiclass classification using Massively Threaded MultiprocessorsMulticlass classification using Massively Threaded Multiprocessors
Multiclass classification using Massively Threaded Multiprocessors
 
Support Vector Machine
Support Vector MachineSupport Vector Machine
Support Vector Machine
 
Support Vector Machine without tears
Support Vector Machine without tearsSupport Vector Machine without tears
Support Vector Machine without tears
 
Support Vector machine
Support Vector machineSupport Vector machine
Support Vector machine
 
Tweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVM
 
Multidimensional RNN
Multidimensional RNNMultidimensional RNN
Multidimensional RNN
 
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
Support Vector Machines (SVM) - Text Analytics algorithm introduction 2012
 
2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines
2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines
2013-1 Machine Learning Lecture 05 - Andrew Moore - Support Vector Machines
 
Data Science - Part IX - Support Vector Machine
Data Science - Part IX -  Support Vector MachineData Science - Part IX -  Support Vector Machine
Data Science - Part IX - Support Vector Machine
 

Similar to Event classification & prediction using support vector machine

Support Vector Machine Techniques for Nonlinear Equalization
Support Vector Machine Techniques for Nonlinear EqualizationSupport Vector Machine Techniques for Nonlinear Equalization
Support Vector Machine Techniques for Nonlinear Equalization
Shamman Noor Shoudha
 
EE660_Report_YaxinLiu_8448347171
EE660_Report_YaxinLiu_8448347171EE660_Report_YaxinLiu_8448347171
EE660_Report_YaxinLiu_8448347171
Yaxin Liu
 
Kaggle Projects Presentation Sawinder Pal Kaur
Kaggle Projects Presentation Sawinder Pal KaurKaggle Projects Presentation Sawinder Pal Kaur
Kaggle Projects Presentation Sawinder Pal Kaur
Sawinder Pal Kaur
 
A Multi-Objective Genetic Algorithm for Pruning Support Vector Machines
A Multi-Objective Genetic Algorithm for Pruning Support Vector MachinesA Multi-Objective Genetic Algorithm for Pruning Support Vector Machines
A Multi-Objective Genetic Algorithm for Pruning Support Vector Machines
Mohamed Farouk
 
The world of loss function
The world of loss functionThe world of loss function
The world of loss function
홍배 김
 
Machine learning for_finance
Machine learning for_financeMachine learning for_finance
Machine learning for_finance
Stefan Duprey
 
Anomaly detection using deep one class classifier
Anomaly detection using deep one class classifierAnomaly detection using deep one class classifier
Anomaly detection using deep one class classifier
홍배 김
 
Svm vs ls svm
Svm vs ls svmSvm vs ls svm
Svm vs ls svm
Pulipaka Sai Ravi Teja
 
Analytical study of feature extraction techniques in opinion mining
Analytical study of feature extraction techniques in opinion miningAnalytical study of feature extraction techniques in opinion mining
Analytical study of feature extraction techniques in opinion mining
csandit
 
ANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MINING
ANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MININGANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MINING
ANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MINING
csandit
 
Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...
Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...
Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...
cscpconf
 
Svm algorithm
Svm algorithmSvm algorithm
Svm algorithm
Waleed Khan
 
Efficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketchingEfficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketching
Hsing-chuan Hsieh
 
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
Show, Attend and Tell: Neural Image Caption Generation with Visual AttentionShow, Attend and Tell: Neural Image Caption Generation with Visual Attention
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
Eun Ji Lee
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 
A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...
A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...
A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...
ijfls
 
A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...
A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...
A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...
ijfls
 
Svm map reduce_slides
Svm map reduce_slidesSvm map reduce_slides
Svm map reduce_slides
Sara Asher
 
MSE.pptx
MSE.pptxMSE.pptx
MSE.pptx
JantuRahaman
 
Lesson_8_DeepLearning.pdf
Lesson_8_DeepLearning.pdfLesson_8_DeepLearning.pdf
Lesson_8_DeepLearning.pdf
ssuser7f0b19
 

Similar to Event classification & prediction using support vector machine (20)

Support Vector Machine Techniques for Nonlinear Equalization
Support Vector Machine Techniques for Nonlinear EqualizationSupport Vector Machine Techniques for Nonlinear Equalization
Support Vector Machine Techniques for Nonlinear Equalization
 
EE660_Report_YaxinLiu_8448347171
EE660_Report_YaxinLiu_8448347171EE660_Report_YaxinLiu_8448347171
EE660_Report_YaxinLiu_8448347171
 
Kaggle Projects Presentation Sawinder Pal Kaur
Kaggle Projects Presentation Sawinder Pal KaurKaggle Projects Presentation Sawinder Pal Kaur
Kaggle Projects Presentation Sawinder Pal Kaur
 
A Multi-Objective Genetic Algorithm for Pruning Support Vector Machines
A Multi-Objective Genetic Algorithm for Pruning Support Vector MachinesA Multi-Objective Genetic Algorithm for Pruning Support Vector Machines
A Multi-Objective Genetic Algorithm for Pruning Support Vector Machines
 
The world of loss function
The world of loss functionThe world of loss function
The world of loss function
 
Machine learning for_finance
Machine learning for_financeMachine learning for_finance
Machine learning for_finance
 
Anomaly detection using deep one class classifier
Anomaly detection using deep one class classifierAnomaly detection using deep one class classifier
Anomaly detection using deep one class classifier
 
Svm vs ls svm
Svm vs ls svmSvm vs ls svm
Svm vs ls svm
 
Analytical study of feature extraction techniques in opinion mining
Analytical study of feature extraction techniques in opinion miningAnalytical study of feature extraction techniques in opinion mining
Analytical study of feature extraction techniques in opinion mining
 
ANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MINING
ANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MININGANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MINING
ANALYTICAL STUDY OF FEATURE EXTRACTION TECHNIQUES IN OPINION MINING
 
Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...
Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...
Radial Basis Function Neural Network (RBFNN), Induction Motor, Vector control...
 
Svm algorithm
Svm algorithmSvm algorithm
Svm algorithm
 
Efficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketchingEfficient anomaly detection via matrix sketching
Efficient anomaly detection via matrix sketching
 
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
Show, Attend and Tell: Neural Image Caption Generation with Visual AttentionShow, Attend and Tell: Neural Image Caption Generation with Visual Attention
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...
A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...
A Fuzzy Interactive BI-objective Model for SVM to Identify the Best Compromis...
 
A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...
A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...
A FUZZY INTERACTIVE BI-OBJECTIVE MODEL FOR SVM TO IDENTIFY THE BEST COMPROMIS...
 
Svm map reduce_slides
Svm map reduce_slidesSvm map reduce_slides
Svm map reduce_slides
 
MSE.pptx
MSE.pptxMSE.pptx
MSE.pptx
 
Lesson_8_DeepLearning.pdf
Lesson_8_DeepLearning.pdfLesson_8_DeepLearning.pdf
Lesson_8_DeepLearning.pdf
 

Recently uploaded

一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理
一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理
一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理
da42ki0
 
一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理
一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理
一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理
da42ki0
 
Integrated Optical Fiber/Wireless Systems for Environmental Monitoring
Integrated Optical Fiber/Wireless Systemsfor Environmental MonitoringIntegrated Optical Fiber/Wireless Systemsfor Environmental Monitoring
Integrated Optical Fiber/Wireless Systems for Environmental Monitoring
Larry Smarr
 
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
femim26318
 
Audits Of Complaints Against the PPD Report_2022.pdf
Audits Of Complaints Against the PPD Report_2022.pdfAudits Of Complaints Against the PPD Report_2022.pdf
Audits Of Complaints Against the PPD Report_2022.pdf
evwcarr
 
Vrinda store data analysis project using Excel
Vrinda store data analysis project using ExcelVrinda store data analysis project using Excel
Vrinda store data analysis project using Excel
SantuJana12
 
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
deepikakumaridk25
 
BGTUG Meeting Q3 2024 - Get Ready for Summer
BGTUG Meeting Q3 2024 - Get Ready for SummerBGTUG Meeting Q3 2024 - Get Ready for Summer
BGTUG Meeting Q3 2024 - Get Ready for Summer
Stanislava Tropcheva
 
19328-48051-2-PB.pdf jurnal ttg analisis
19328-48051-2-PB.pdf jurnal ttg analisis19328-48051-2-PB.pdf jurnal ttg analisis
19328-48051-2-PB.pdf jurnal ttg analisis
IndahMaimunah1
 
ICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptx
ICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptxICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptx
ICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptx
Godwin Emmanuel Oyedokun MBA MSc PhD FCA FCTI FCNA CFE FFAR
 
Selcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdfSelcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdf
SelcukTOPAL2
 
Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...
Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...
Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...
Larry Smarr
 
NYCMeetup07-25-2024-Unstructured Data Processing From Cloud to Edge
NYCMeetup07-25-2024-Unstructured Data Processing From Cloud to EdgeNYCMeetup07-25-2024-Unstructured Data Processing From Cloud to Edge
NYCMeetup07-25-2024-Unstructured Data Processing From Cloud to Edge
Timothy Spann
 
Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635
HeidiLivengood
 
Toward a National Research Platform to Enable Data-Intensive Computing
Toward a National Research Platform to Enable Data-Intensive ComputingToward a National Research Platform to Enable Data-Intensive Computing
Toward a National Research Platform to Enable Data-Intensive Computing
Larry Smarr
 
Hadoop Vs Snowflake Blog PDF Submission.pptx
Hadoop Vs Snowflake Blog PDF Submission.pptxHadoop Vs Snowflake Blog PDF Submission.pptx
Hadoop Vs Snowflake Blog PDF Submission.pptx
dewsharon760
 
emotional interface - dehligame satta for you
emotional interface  -  dehligame satta for youemotional interface  -  dehligame satta for you
emotional interface - dehligame satta for you
bkldehligame1
 
一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理
一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理
一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理
ks1ni2di
 
Indian KS Unit 2 Mathematicians (1).pptx
Indian KS Unit 2 Mathematicians (1).pptxIndian KS Unit 2 Mathematicians (1).pptx
Indian KS Unit 2 Mathematicians (1).pptx
Nikita Gaikwad
 
ChessMaster Project Presentation for Batch 1643.pptx
ChessMaster Project Presentation for Batch 1643.pptxChessMaster Project Presentation for Batch 1643.pptx
ChessMaster Project Presentation for Batch 1643.pptx
duduphc
 

Recently uploaded (20)

一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理
一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理
一比一原版(sfu毕业证书)加拿大西蒙菲莎大学毕业证如何办理
 
一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理
一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理
一比一原版(macewan毕业证书)加拿大麦科文大学毕业证如何办理
 
Integrated Optical Fiber/Wireless Systems for Environmental Monitoring
Integrated Optical Fiber/Wireless Systemsfor Environmental MonitoringIntegrated Optical Fiber/Wireless Systemsfor Environmental Monitoring
Integrated Optical Fiber/Wireless Systems for Environmental Monitoring
 
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
Cal Girls Mansarovar Jaipur | 08445551418 | Rajni High Profile Girls Call in ...
 
Audits Of Complaints Against the PPD Report_2022.pdf
Audits Of Complaints Against the PPD Report_2022.pdfAudits Of Complaints Against the PPD Report_2022.pdf
Audits Of Complaints Against the PPD Report_2022.pdf
 
Vrinda store data analysis project using Excel
Vrinda store data analysis project using ExcelVrinda store data analysis project using Excel
Vrinda store data analysis project using Excel
 
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
Cal Girls The Lalit Jaipur 8445551418 Khusi Top Class Girls Call Jaipur Avail...
 
BGTUG Meeting Q3 2024 - Get Ready for Summer
BGTUG Meeting Q3 2024 - Get Ready for SummerBGTUG Meeting Q3 2024 - Get Ready for Summer
BGTUG Meeting Q3 2024 - Get Ready for Summer
 
19328-48051-2-PB.pdf jurnal ttg analisis
19328-48051-2-PB.pdf jurnal ttg analisis19328-48051-2-PB.pdf jurnal ttg analisis
19328-48051-2-PB.pdf jurnal ttg analisis
 
ICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptx
ICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptxICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptx
ICAN Canada Decision Making Optimization through Data Mining Prof Oyedokun.pptx
 
Selcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdfSelcuk Topal Arbitrum Scientific Report.pdf
Selcuk Topal Arbitrum Scientific Report.pdf
 
Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...
Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...
Toward a National Research Platform to Enable Data-Intensive Open-Source Sci...
 
NYCMeetup07-25-2024-Unstructured Data Processing From Cloud to Edge
NYCMeetup07-25-2024-Unstructured Data Processing From Cloud to EdgeNYCMeetup07-25-2024-Unstructured Data Processing From Cloud to Edge
NYCMeetup07-25-2024-Unstructured Data Processing From Cloud to Edge
 
Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635Data Storytelling Final Project for MBA 635
Data Storytelling Final Project for MBA 635
 
Toward a National Research Platform to Enable Data-Intensive Computing
Toward a National Research Platform to Enable Data-Intensive ComputingToward a National Research Platform to Enable Data-Intensive Computing
Toward a National Research Platform to Enable Data-Intensive Computing
 
Hadoop Vs Snowflake Blog PDF Submission.pptx
Hadoop Vs Snowflake Blog PDF Submission.pptxHadoop Vs Snowflake Blog PDF Submission.pptx
Hadoop Vs Snowflake Blog PDF Submission.pptx
 
emotional interface - dehligame satta for you
emotional interface  -  dehligame satta for youemotional interface  -  dehligame satta for you
emotional interface - dehligame satta for you
 
一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理
一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理
一比一原版(unb毕业证书)新布伦瑞克大学毕业证如何办理
 
Indian KS Unit 2 Mathematicians (1).pptx
Indian KS Unit 2 Mathematicians (1).pptxIndian KS Unit 2 Mathematicians (1).pptx
Indian KS Unit 2 Mathematicians (1).pptx
 
ChessMaster Project Presentation for Batch 1643.pptx
ChessMaster Project Presentation for Batch 1643.pptxChessMaster Project Presentation for Batch 1643.pptx
ChessMaster Project Presentation for Batch 1643.pptx
 

Event classification & prediction using support vector machine

  • 1. By Ruta Ashok Kambli (122071013) Event Classification & Prediction Using Support Vector Machine
  • 2. Scope of Presentation  Introduction  Support Vector Machine(SVM)  Hard-margin SVM  Soft -margin SVM  Kernels  Multiclass classification  SVM Model Selection  Case Studies & Results  Conclusion
  • 3. Introduction  Classification & Prediction  Machine Learning  Support Vector Machine
  • 5. Support Vector Machines • Supervised machine learning model. • Analyse data and recognize patterns. • Used for classification and regression analysis.
  • 6. Binary Classification Consider training data set (𝑥𝑖, 𝑦𝑖) for (i = 1, . . . , M), with 𝑥𝑖 ∈ ℝ 𝑑 and 𝑦𝑖 ∈ {−1, 1}, learn a classifier D(x) such that, 𝐷(𝑥𝑖) ≥ 1, 𝑓𝑜𝑟 𝑦𝑖 = 1 ≤ −1, 𝑓𝑜𝑟 𝑦𝑖 = −1 ……(1) ie. 𝑦𝑖 𝐷 𝑥𝑖 ≥ 1 for a correct classification.
  • 8.  How would you classify these points using a linear discriminant function in order to minimize the error rate? Binary Classificationdenotes +1 denotes -1 x1 x2  Infinite number of answers!
  • 9.  How would you classify these points using a linear discriminant function in order to minimize the error rate? Binary Classificationdenotes +1 denotes -1 x1 x2  Infinite number of answers!
  • 10.  How would you classify these points using a linear discriminant function in order to minimize the error rate? Binary Classificationdenotes +1 denotes -1 x1 x2  Infinite number of answers!
  • 11. x1 x2 How would you classify these points using a linear discriminant function in order to minimize the error rate? Binary Classificationdenotes +1 denotes -1  Infinite number of answers!  Which one is the best?
  • 12. Binary Classification “safe zone”  We have to find out the optimal hyperplane with the maximum margin.  Margin is defined as the width that the boundary could be increased by before hitting a data point  Why it is the best?  Robust to outliners and thus strong generalization ability. Margin x1 x2 denotes +1 denotes -1
  • 14. Minimise : 𝑄 𝑤, 𝑏 = 1 2 𝑤 2 …….(2) Subject to: 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 ≥ 1 𝑓𝑜𝑟 𝑖 = (1, … … , 𝑀) …….(3) Q(w, b,𝛼)=𝑊 𝑇 𝑊 − 𝑖=1 𝑀 𝛼𝑖 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 − 1 ……(4) Where 𝛼 = (𝛼𝑖, … … 𝛼 𝑀) and 𝛼𝑖 are the nonnegative Lagrange multipliers. • The optimal solution of (4) is given by the saddle point. • Where (4) is minimized with respect to w • Maximized with respect to 𝛼𝑖 (≥ 0) • Maximized or minimized with respect to b according to the sign 𝑖=1 𝑀 𝛼𝑖 𝑦𝑖
  • 15. Soft- margin SVM 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 ≥ 1 − 𝜉𝑖 𝑓𝑜𝑟 𝑖 = 1, … … , 𝑀 …….(7)
  • 16. Soft margin SVM 𝑚𝑖𝑛𝑖𝑚𝑖𝑠𝑒 𝑄 𝑤, 𝑏, 𝜉 = 1 2 𝑤 2 + 𝐶 𝑃 𝑖=1 𝑀 𝜉𝑖 𝑃 ……..(5) 𝑆𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 ≥ 1 − 𝜉𝑖 𝑓𝑜𝑟 𝑖 = 1, … … , 𝑀 ….(6) 𝑄 𝑤, 𝑏, 𝛼, 𝛽 = 1 2 𝑤 2 + 𝐶 𝑖=1 𝑀 𝜉𝑖 − 𝑖=1 𝑀 𝛼𝑖 𝑦𝑖 𝑤 𝑇 𝑥𝑖 + 𝑏 − 1 + 𝜉𝑖 − 𝑖=1 𝑀 𝛽𝑖 𝜉𝑖 ……(7)
  • 17. Kernels Types of Kernel Function Polynomial Radial Base function(RBF) Sigmoid
  • 18. Multiclass Classification  Initially SVM is Binary Classifier.  Most of the practical applications involve multiclass classification.  One against One Approach.  If n is the number of classes, we generate n(n-1)/2 models.  It is not practical for large-scale linear classification.
  • 19. SVM Model Margin Parameter (C) Selection
  • 21. K-fold Cross Validation  Create a K-fold partition of the dataset.  For each of K experiments, use K-1 folds for training and the remaining one for testing.  The advantage of K-Fold Cross validation is that all the examples in the dataset are eventually used for both training and testing
  • 22. Classification using SVM Data acquisition using NI-Elvis Feature selection using Wavelate Feature classification using SVM
  • 23. Data acquisition using NI-Elvis  Two connectors are connected to Flexor Digitorum supercialis (FDS) muscle.  The readings are taken for different hand movements.
  • 24. Data acquisition using NI-Elvis This is time verses amplitude graph of hand movement data.  Class 1 :open hand  Class 2 : closed hand  Class 3 :wrist flexion
  • 26. Results (training & testing) Subject Training Accuracy (%) Testing Accuracy(%) Male1 89.5833 86.3636 Male2 93.75 79.1667 Female 1 90 80
  • 30. Kernel Selection Kernel Training Accuracy % Testing Accuracy% Polynomial 100 94.44 Radial 100 100 Sigmoid 52.63 38.89
  • 33. Conclusion  Results of first case study show that, single channel surface Electromyogram analysis is simple, less expensive and effective.  The second case study shows, using blackout prediction model we can predict blackout before it occurs.  Here output of SVM is given to emergency control system, which initiates the prevention mechanism against the blackout.
  • 34. Refferences 1. “Support Vector Machines for Pattern Classification” by Shigeo Abe 2. “Classification of low-level finger contraction from single channel Surface EMG” by Vijay Pal Singh and Dinesh Kant Kumar 3. “Fault Location in Power Distribution System with Distributed Generation Using Support Vector Machine,” by Agrawal, R.Thukaram 4. M. R. Ahsan, M. I. Ibrahimy, and O. O. Khalifa, “EMG signal classication for human computer interaction: A review,"European Journal of Scientic Research, vol. 33, no. 3, pp. 480-501, 2009.
  • 35. References 5. J. Kim, S. Mastnik, and E. Andr,”EMG-based hand gesture recognition for realtime biosignal interfacing,"13th international conference on Intelligent user interfaces, 2008, pp.3039. 6. K. Englehart and B. Hudgins, “A robust, real- time control scheme for multifunction myoelectric control,"Biomedical Engineering, IEEE Transactions on, vol. 50, no. 7, pp. 848854, 2003. 7. C Rudin, D Waltz, and R N Anderson, “Machine learning for the new york city power grid,"IEEE Trans. on Pattern analysis and machine intelligence , VOL. 34, NO. 2, February 2011

Editor's Notes

  1. Can we write some points?