0% found this document useful (0 votes)
6 views

Lesson Three

Uploaded by

Mohamed
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Lesson Three

Uploaded by

Mohamed
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Classification Algorithms

Lesson Three
Outline

➔ Support Vector Machine (SVM) Classifier

➔ Math behind SVM

➔ SVM Kernel

➔ Loss Function in SVM

➔ Gradient Descent in SVM

➔ Project Implementation
What is Support Vector Machine(SVM)
➔ A support vector machine (SVM) is a type of supervised learning algorithm
used in machine learning to solve classification and regression tasks; SVMs
are particularly good at solving binary classification problems, which require
classifying the elements of a data set into two groups
➔ The aim of a support vector machine algorithm is to find the best possible
line, or decision boundary, that separates the data points of different data
classes.
➔ This boundary is called a hyperplane when working in high-dimensional
feature spaces.
Cont..
➔ The idea is to maximize the margin, which is the distance between the
hyperplane and the closest data points of each category, thus making it easy
to distinguish data classes.
➔ SVMs are useful for analyzing complex data that can't be separated by a
simple straight line. Called nonlinear SMVs, they do this by using a
mathematical trick that transforms data into higher-dimensional space,
where it is easier to find a boundary.
➔ SVM has been shown to be very effective in many real-world applications
such as text classification, image classification, and bioinformatics.
Cont..
The following are some crucial principles in SVM:

➔ Support Vectors - The data points nearest to the hyperplane are known as support

vectors. The separation line can be determined with the use of support vectors.

➔ Hyperplane - The space or decision plane that divides a group of items into multiple

classes is referred to as a hyperplane.

➔ Margin - The distance between two lines on distinct classes' nearest data points.

➔ Maximum margin - An ideal hyperplane is one that has the largest margin.

You might also like