Machine Learning Tutorial Python - 10 Support Vector Machine (SVM)

preview_player
Показать описание
Support vector machine (SVM) is a popular classification algorithm. This tutorial covers some theory first and then goes over python coding to solve iris flower classification problem using svm and sklearn library. We also cover different parameters such as gamma, regularization and how to fine tune svm classifier using these parameters. Basically the way support vector machine works is it draws a hyper plane in n dimension space such that it maximizes the margin between classification groups.

#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #SupportVectorMachine #SVM #sklearntutorials #scikitlearntutorials

Exercise: Open above notebook from github and go to the end.

Topics that are covered in this Video:
0:00 Introduction
0:20 Theory (Explain support vector machine using sklearn iris dataset flower classification problem)
3:11 What is Gamma?
4:21 What is Regularization?
5:27 Kernel
6:32 Coding (Start)
21:41 Exercise (Classify hand written digits dataset from sklearn using SVM)

Next Video:

Populor Playlist:

Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials

#️⃣ Social Media #️⃣
Рекомендации по теме
Комментарии
Автор

Thanks so much for the detailed video on SVM. This helped me a lot!

jg
Автор

What a wonderfull tutorial!! well done and well explained. Thanks a lot dude for the sharing of this expensive knowledge.

saidouiazzane
Автор

model = SVC(kernel = 'rbf', C = 4, gamma = 'scale')
With the above config, I got a model score of about 99.17%. Test size was 20%, as mentioned.
Thank you, these tutorials are amazing! :) cheers!

sagnikmukherjee
Автор

A very solid, informative yet concise tutorial. Excellent. Please keep it up.

aatsw
Автор

Got 1.0 score when C=4 for iris data set. Thank you Sir! Your machine learning Playlist is a boon for beginners like me.

aditinagar
Автор

Thank you very much for these videos. They are really helpful. I did the exercise and got 99% when C=4. Any increase in C did not affect the accuracy. Also, any alteration made to gamma and kernel dropped the accuracy drastically. Thank you once again.

favourfadeyi
Автор

Hello sir, thank you for your videos. It really helps from the beginner of the video which you have listed in data science playlist. 😄
The model in default method is 99.65% in train and 99.4% in test. Whereas gamma method will lower down the accuracy of the model from 99.4% to 75% therefore it has explicit shows the gamma method is unsuitable for the scenario however the regularisation has improve the train set to 1 and testing set is retained the best accuracy of model.
Yet, kernel parameter as linear has also provided a good accuracy of model.
Thank you for your guidance.

junjietan
Автор

This series is the best I have seen on simple and explicit Machine learning and Algorithm.Thanks

GlobalDee_
Автор

This is great! Thank you so much for the video

azhaanali
Автор

one of the best lecture I have ever watched

Abhishekpandey-dlme
Автор

Wow! how brilliantly working and good teaching method as well . thx sir from Pakistan ... keep it Up!

sikanderayazkhan
Автор

Very very good tutorial. The gentle practice of svm. Thank you

joehansie
Автор

Can you make a video on title "how to determine which classification model to be used in ML according to dataset" ?

oshogarg
Автор

I was looking for python code to SVM... Thanks a lot... this was a great help... very clean and intuitive lecture~!

dhhan
Автор

Thankyou so much for the wonderful job!!

shubhangiagrawal
Автор

Thank you so much for your presentation. I have learned a lot.

Exercise
Test size=0.2, C=1, kernel='poly
Accuracy: 99.17%

stephenngumbikiilu
Автор

Great videos Bro, Finally understands something :)

stackflow
Автор

hello great videos, loved this series. Can you please do a video on imbalanced data sets in classifications problems? Maybe just add onto a previous example you have but with a case where there are very few "1" or "true" values compared to "0" or "false" . thanks for you consideration!

BenjaminFunklin
Автор

Your teaching skills are unmeasurable and it's very easy to understand no need to scratch our head for looking at some other training institute.
I have executed load_digits datasets and found the following score:
For 'rbf' kernal, score -98
'linear' kernal, score -97

sidduhedaginal
Автор

Your all concepts are so brilliant and well defined.because of these video, my concepts and doughts are now so much clear.

kousarjamadar