Home / Tag Archives: SVM

# Tag Archives: SVM

## 204.6.9 Digit Recognition using SVM

In this final post of this series we will put SVM into practice by solving an image classification problem. Practice : Digit Recognition using SVM Take an image of a handwritten single digit, and determine what that digit is. Normalized handwritten digits, automatically scanned from envelopes by the U.S. Postal …

## 204.6.8 SVM : Conclusion

SVM Validation SVM doesn’t give us the probability, it directly gives us the resultant classes. Usual methods of validation like sensitivity, specificity, cross validation, ROC and AUC are the validation methods. SVM Advantages & Disadvantages SVM Advantages SVM’s are very good when we have no idea on the data. Works …

## 204.6.7 Soft Margin Classification – Noisy Data and Validation

In this session we will practice non linear kernels of SVM in python. Practice : Kernel – Non linear classifier Dataset : Software users/sw_user_profile.csv How many variables are there in software user profile data? Plot the active users against and check weather the relation between age and “Active” status is …

## 204.6.6 Practice : Kernel – Non Linear Classifier

In this session we will practice non linear kernels of SVM in python. Practice : Kernel – Non linear classifier Dataset : Software users/sw_user_profile.csv How many variables are there in software user profile data? Plot the active users against and check weather the relation between age and “Active” status is …

## 204.6.5 The Non-Linear Decision Boundary

The Non-Linear Decision Boundary In the above examples we can clearly see the decision boundary is linear. SVM works well when the data points are linearly separable. If the decision boundary is non-liner then SVM may struggle to classify. Observe the below examples, the classes are not linearly separable. SVM …

## 204.6.4 Building SVM model in Python

We discussed the SVM algorithm in our last post. In this post we will try to build a SVM classification model in Python. SVM on Python There are multiple SVM libraries available in Python. The package ‘Scikit’ is the most widely used for machine learning. There is a function called …

## 204.6.3 SVM : The Algorithm

SVM- The large margin classifier SVM is all about finding the maximum-margin Classifier. Classifier is a generic name, its actually called the hyper plane. Hyper plane: In 3-dimensional system hyperplanes are the 2-dimensional planes, in 2-dimensional space its hyperplanes are the 1-dimensional lines. SVM algorithm makes use of the nearest …

## 204.6.2 Practice : Simple Classifier

In this practice session we will cover all the things we discussed about simple classifiers in last post. Practice : Simple Classifiers Dataset: Fraud Transaction/Transactions_sample.csv Draw a classification graph that shows all the classes Build a logistic regression classifier Draw the classifier on the data plot Solution In [1]: #Importing the …