Support Vector Machine

SVM is a supervised learning algorithm that classifies cases by finding a suitable separator(HYPERPLANE). As per its name suggests support vectors are responsible for its conduct. It pretends to be a discriminative classifier that is formally designed by a separative hyperplane. It is a representation of examples as a point in space that is mapped so that the points of different categories are separated by a gap which must be as wide as possible.


Support Vector Machine

Support vectors are the nearest points on each side of the optimal hyperplane we have drawn. These support vectors are important to identify to draw the margin for the optimal hyperplane. Suppose our data is in a circular format, this can be solved with two faces:

  1. By the use of best fit kernel out of Linear, Polynomial, RBF, and Sigmoid.

  2. Map the data into higher dimensions.

Significance of the above points -

  • In order to find a suitable kernel, we need to implement all kernels and compare their accuracy to get a suitable kernel.

  • If the data(1D) is non-linearly separable than it can be converted into linearly separable by using a function such as f [x,x^2]. Mapping data into higher dimensional space.


ADVANTAGES

  • Accurate in higher dimensions.

  • Memory efficient.

DISADVANTAGES

  • Prone to overfitting.

  • Work on small datasets.


IMPLEMENTATIONS-

  1. Bioinformatics

  2. Face detection

  3. Handwriting detection

  4. Generalized prediction

  5. Classification of images

  6. Remote Homology detection

  7. Text and Hypertext categorization


#_Lets_code_the_concepts

Here we perform it on breast cancer data, data is of classification type between begnin or malignant cancer. We have performed data cleaning to learn it visit NORMALIZATION.


Standardscalar( ) function is also explained in NORMALIZATION.

CODE

Contact us for help

#datanormalization #supportvectormachine #featurescaling #standardscaler #data #pandas

#datacleaning #python #machinelearning #project #crazzylearners #programming #codes #coding #categoricaldata #machinelearningprojects #mlcoding #datasets #datascience #dataanalytics #bigdata #sklearn #programs #numpy #datatypes #python #sigmoidfunction #models #predictions #kernels #confusionmatrix #implementaions #hyperplane #coding #crazzylearners

18 views
  • CREATED BY ANMOL VARSHNEY & PALAK GUPTA