Easily the best illustration of the Kernel Trick I've ever seen, but the real utility of this video is found in encouraging everyone to become an autodidact -- particularly in an era where the majority of human knowledge is available for free. Well done.
@BrandonRohrer7 жыл бұрын
Thank you knuth42. Your encouragement means a great deal to me.
@sakthigeek24587 жыл бұрын
Great work on all your videos!! Keep enlightening the world :)
@harirao123457 жыл бұрын
Why is it called Support Vector Machine?
@merce97287 жыл бұрын
What software do you use for the data visualisation?
@vishnuvarthan83046 жыл бұрын
@@harirao12345 vectors near the decision boundary acts as support vectors so it is called svm
@oyardimci2 жыл бұрын
As you said, I watched several videos to understand clearly, and at the end, I hit your video, now I feel so confident about this topic now. Thanks.
@BrandonRohrer2 жыл бұрын
I love it! Thanks :)
@balajig2129 Жыл бұрын
I had gone through multiple videos. But this explanation is the best for SVM. Thanks for sharing
@wembly82253 жыл бұрын
By far the best explanation of the kernel trick ever!! god bless you
@BrandonRohrer3 жыл бұрын
Thanks wembly!
@dipanwitanath80532 жыл бұрын
Still the best explanation for Kernel Methods. Thank you for this
@BrandonRohrer2 жыл бұрын
Thank you :)
@moharbab29873 жыл бұрын
Very nice video and very educational. I didn't feel the time running while I was watching. Thank you.
@paoloangeles7 жыл бұрын
This is how theories and models should be explained, extremely clear.
@govou30007 жыл бұрын
Einstein said it himself, if you can't explain it to a six year old, you don't understand it yourself
@adnanhashem989 ай бұрын
I hope you find the below annotated summary of the explained method of "opening the box" helpful😊 In the process of going through the steps of the method, think about the following questions*: q1: What is the "box" design for? (e.g. What is the purpose of SVM?) q2: What is the "box" used for? (e.g. What is SVM used for?) q3: How to visualize the key concepts? (e.g. How to visualize SVM kernel trick?) q4: How the underlying Math works? I'd like to think of the below "steps" as strategies that I can select from and mix together (depending on the box I'm trying to open). Steps: 1. Read the original source that explains the "box" (e.g. scikit-learn docs).** 2. Read good Tutorial(s). 3. Watch good KZbin videos. 4. Read some good (blog) posts. 5. Explain the "box" to yourself and try to draw illustrations of the key concepts. 6. Choose a toy example (i.e. simple example that preserved the fundamental features of the "box".). 7. Explain it to a 12 year old (to avoid using jargon and to get to the essence of the "box"). 8. Understand the weaknesses of the box. (e.g. What conditions make SVM a poor method of choice?) So, that's it! This is how you open a box 🙂 Footnotes: * Of course some of the questions are not applicable to some "boxes" :) ** Be aware that this step might not be accessible to beginners.
@vishnukunchur7 жыл бұрын
This is easily the single greatest instructional video I have ever seen.
@glowish19935 жыл бұрын
Searched for a SVM video, found a video to explain on how to learn better and open a black box well. I see this as an absolute win!
@3rdman99 Жыл бұрын
Finally videos about ML explained by somebody whose English I can understand.
@jasonk334ever7 жыл бұрын
great explanation of not only how SVM's work at a basic level, but also great insight into the approach you take to learn anything
@timnoordewier80893 жыл бұрын
Thank you for putting this video together! Your explanation was both informative and motivating for an aspiring data scientist!
@BrandonRohrer3 жыл бұрын
Thanks for the note Tim! I'm very happy to hear it.
@RoryFrenn5 жыл бұрын
I love people who explain things like you.
@sanjivsoni23897 жыл бұрын
You'll only know when you open the box. Great stuff Brandon, one of the best explanations that I have ever hear of.
@yasinilulea6 жыл бұрын
A youtube video summarising other youtube videos in a plain language, amazing! :)
@kunalkalwankar73043 жыл бұрын
Best svm explaination
@BrandonRohrer3 жыл бұрын
Thanks Kunal :)
@MrMaipeople6 жыл бұрын
The best kernel trick explained EVER to me. Thank you so much for your effort.
@garrett60647 жыл бұрын
I stumbled upon your channel in much the same way, looking for a good explanation of LSTM. Your explanation was good enough for me to want to see what else I can learn from you. I think I've spent the two hours now learning about BECCA and the robot house. You've done great work and I appreciate you taking the time to share it with us.
@michaeldrolet73866 жыл бұрын
WOW, amazing explanation. This is just what I was looking for! I can tell you put a lot of effort into making this as digestible as possible
@bluelight95087 жыл бұрын
Lots of awesome ML videos with great explanations - clearer than most anywhere I've seen. I hope you keep them coming. :)
@vaporizer086 жыл бұрын
One of the clearest explanation on youtube. Thanks
@levon93 жыл бұрын
Fantastic video, and a great visual demonstration of the Kernel Trick - thank you for sharing. Also love your description of your process of learning this, it is very similar to what I do, and your advice at the end of the video is right on target as well.
@BrandonRohrer3 жыл бұрын
Thank you! I'm glad you got a lot out of it.
@Chillos1004 жыл бұрын
Wow!! To you sir, my hat goes off!! Thank you so much for this wisdom & ease of explanation.. Many blessings to you in the future..
@BrandonRohrer4 жыл бұрын
Thank you so much!
@mayankpj7 жыл бұрын
Really nice advice Brandon, sometimes emphasizing the process of self learning helps one to "do it the right way" and not rush through things. I feel that one core ethic that one needs to adhere to while self learning is patience. So Thanks for putting in a lot of effort and being patient enough with the difficult concepts that you brought out so beautifully!
@Larock-wu1uu4 жыл бұрын
Very well explained! This makes SVMs extremely intuitive.
@arung807 жыл бұрын
What a nice way to express SVM’s ! Please keep up the great work for the community
@mrtertg26032 ай бұрын
Brilliant , You hit the nail Brandon . Excellent vd , excellent style of teaching which is to have a general visiual broad perspective of an abstract idea
@dz_ai_school44914 жыл бұрын
Awesome Awesome Awesome explanation, Thank you 10000 times for the effort
@BrandonRohrer4 жыл бұрын
You are very kind :) Thank you.
@karthin38395 жыл бұрын
The Best visualization of the Kernel Trick that I've seen ever....
@ritikajain88596 жыл бұрын
Great and Amazing video! I have seen many videos but was not able to understand the basics of svm specially the kernel thing but ur video has a clear and simple explanation of it and helped me to understand the concept easily. Thank u so much! :)
@senthilcaesar5 жыл бұрын
This video is super helpful to understand SVM . Simple explanation are always best
@TamerEid16 жыл бұрын
you are the best video describes SVM all over the internet ....after seeing many others ...you did the best ...Great Job Dude
@thegreatskywalker5 жыл бұрын
This has to be the best explanation of this topic. Period.
@llbrunollllbll93476 жыл бұрын
Great! Please, keep on showing us how to dig for the details. Really good your comparison between "city driver" vs. "racer driver" .
@geraldgibson60554 жыл бұрын
Good job communicating the Key abstracted concepts.
@anandsingh10115 жыл бұрын
Amazing explanation..!! I can't believe anyone can explain SVM in so simple way. I think if i explain it to my 6 year old son he will also understand it.
@hexa36887 жыл бұрын
Great video :) The explanation of the kernel trick was very helpful. I think it would have been even better if you talked a bit more about the math, but most people are maybe only interested in the intuition and methodology introduced in the video, so it makes sense to avoid making things too complicated.
@rayankhan122 жыл бұрын
What did you use to make the visualisation at 9:55? That's amazing.
@BrandonRohrer2 жыл бұрын
Thanks! That's all Matplotlib with some (kind of) steady mouse dragging. code is all here: github.com/brohrer/public-hosting/blob/master/svm_kernel_trick.py
@imedkhabbouchi21612 жыл бұрын
Thank you for this very simple and intuitive description that demystified the SVM. I have one question about the presentation how could you make the 3D plots rotating using mouse cursor as seen in minute 10:00 for example?
@BrandonRohrer2 жыл бұрын
Thanks! This is a Matplotlib interactive 3D plot. It lets you drag the point of view with your mouse. Here's a deeper dive if you need it: stackoverflow.com/questions/49981313/rotate-interactively-a-3d-plot-in-python-matplotlib-jupyter-notebook
@igorrizhyi55726 жыл бұрын
i expected for some formulas to reinforce my knowledges with numbers and math tricks, but it is also good without them. big thank you for your efforts dude!
@joanbrod45617 жыл бұрын
Brendon, again another well thought out video presentation. By presenting something one is really forced to understand it clearly oneself, as indeed you do. Please continue.
@andreas72783 жыл бұрын
I learn most of my things as an autodidact and reach very high levels by doing so. It feels very rewarding, you can use your own tempo, choose the right methods and whatever you worked out stays in your brain. However, it's probably not the fastest way in general compared to having great tutors/masters/teachers at your disposal I might add. I actually just did a similar thing, read a lot about svm, the kernel trick, played around with it in python, visualized it, watched videos etc ... at least it stays in memory if you do it that way
@emmanueloluga97703 жыл бұрын
How long did it take you
@DeepakSadulla7 жыл бұрын
A very good toy example coupled with great/intuitive visualizations make this one of the best explanations :) Thanks!!
@KayYesYouTuber7 жыл бұрын
Simply beautiful. Thank you very much for taking the time to do the video.
@philipabraham56006 жыл бұрын
Brilliant Explanation on SVMs. Thank you.
@simoncoi5 жыл бұрын
Hi Brandon, Could you share with us, what tool you used in the video for 3D visualization?
@BrandonRohrer5 жыл бұрын
Hi Long, I created the 3D plots using this code: github.com/brohrer/public-hosting/blob/master/svm_kernel_trick.py They are interactive so I could rotate them by dragging the mouse. I captured the rotation using QuickTime's screencast video recording capabilities.
@sofluzik4 жыл бұрын
Awesome Brandon ...just apt and precisely what the math conveys
@husohomeful5 жыл бұрын
Thanks for also sharing your learning process. What a gem!
@suryarp7 жыл бұрын
Instructional, Informative, Insightful and Inspirational! Good work!!
@af121x4 жыл бұрын
Great! Clear Explanation with extremely nice visualization
@iliachigogidze99296 жыл бұрын
You have talent! Best explanatory video EVER.
@chaitanyajeesrivastava53334 жыл бұрын
Great explanation Brendon. Amazing effort by you
@eleakokkonen60937 жыл бұрын
Great stuff! Will definitely check more of your enlightening videos. Big Thanks!
@ladiharish78433 жыл бұрын
thanks for making it an unforgettable concept.
@COOLGODBOSS7 жыл бұрын
bam nice explanation, impossible to not understand.............now my only question is if this is all SVMs do or is there more about them?
@ChrisKnorowski7 жыл бұрын
Great explanation! The only part that may be slightly confusing was the use of colors in 1d plot. Someone may ask, why not just reorder the colors so that they are linearly separable.
@Peter-bg1ku6 жыл бұрын
Great explanation of the kernel trick!!
@GiantSlayer12346 жыл бұрын
I always had an inclination to teach and I always believed that if I know something very well I can teach it to anyone. But the tool that you used to visualize in this video is mind blowing. Would you be able to share what application you use for this illustration? Thanks a TON!!! I mean it.
@viktoriiauntilova76953 жыл бұрын
Amazing way of explanation ! Love it !
@ahmed74087 жыл бұрын
Brandon you are awesome! Thank you so much for explaining it in such a clear and simple way.
@truliapro71126 жыл бұрын
What software do you use for the data visualization? That is really great!
@نورةالصالحي-ب3ص Жыл бұрын
Thank you very much
@ahmadest617 жыл бұрын
Excellent. Can you please upload an introduction and working of MRF too?
@terakiei7 жыл бұрын
Thank you for the video! Think I'm going to open a lot of boxes from now on.
@irfanripat87942 жыл бұрын
Thankyou very much for making this great explanation of SVM sir. One thing that i still dont get about SVM, is it working on kind of data that have more than 3 features? I often see the illustration only for data with 2 features that draw on 2 dimensional diagram or in 3 dimensional diagram if it started using kernel function. This makes me a little bit confuse.
@BrandonRohrer2 жыл бұрын
Thanks! Yes, the approach is still valid for data with more features, it just gets harder to draw a picture of it.
@omerkaragoz7 жыл бұрын
That's the best explanation I heard. Thank you.
@saketthavanani3125 жыл бұрын
Great Brandon. That was amazing please keep posting more!!!
@Tyokok5 жыл бұрын
was expecting to see you connect visualization with one simple math sample to illustrate how kernel bend the data representation. you have such kind of video? thanks!
@sharmaramdhan4 жыл бұрын
Can SVM be applied to polynomial regression technique if yes then how kernel would be decided??
@pratik64476 жыл бұрын
Wow! Amazing Explanation!! The best ever visualization and explanation. (y)
@leonelhernandez60275 жыл бұрын
Hi, I am using the Support Vector Regression, using fitrsvm (uk.mathworks.com/help/stats/fitrsvm.html). I would like to know how to plot the Kernel chosen. How to do this?
@nomadml97165 жыл бұрын
Brilliant explanation. Are you using the Richard Feynmann method of breaking down problems? It would seem so possibly or maybe you just approach subject matter to be understood in this way. Regardless you have me as a new sub. Thanks for the video.
@buh3573 жыл бұрын
simple and beautiful explanation, thank you:)
@elgs19806 жыл бұрын
Why it's called support vector machines?
@catnudro6 жыл бұрын
Brandon - what software/package are you using for the 3D viz?
@AllanDaemon6 жыл бұрын
The code he used is linked on the video description. You can open it and look it yourself. It's a very simple and straightforward code. He used the Python Library matplotlib, and I bet he used together with Jupyter notebooks to visualize in the browser.
@yoyoyoyo78133 жыл бұрын
This explanation is god level!!
@literallyshane43067 жыл бұрын
Excellent! Very well explained, thank you
@arjunpukale33105 жыл бұрын
Please make such videos on other machine learning algos
@karannchew25343 жыл бұрын
Summary for my revision: Separate different groups based on the distance between closest points from each group. Separate (classify) based on equal distance of gap. If not possible, then based on combination of gap distance and amount of wrong classification. Wrong classification can be quantified based on soft-wrong data (wrong but within the margin). very-wrong (way off the margin and the center separation line) If still not possible (i.e. the data are not linearly separatable) then bend and warp the data (i.e. apply the kernel function to the data), until it is possible to apply the above steps.
@Ezio-Auditore945 жыл бұрын
Is this kernel trick the equivalent of an activation function?
@khannawaz26007 жыл бұрын
THank you so much for explaining it so well .
@nkdms.20317 жыл бұрын
SuperAmazing GENERAL intuition!
@hongpengjin94354 жыл бұрын
so good
@kozzuli7 жыл бұрын
Another amazing video Brandon, you rock!!
@mojojo_san5 жыл бұрын
Thank you, this helped me a lot as to understanding how the kernel trick works. But I'm still wondering, how to best explained the radial kernel trick when we're trying to predict a continuous variable (Support Vector Regression). Does anyone have a suggestion ?
@GO-wr3de5 жыл бұрын
Such a nice explanation!
@chaitanyajeesrivastava53334 жыл бұрын
Amazing explanation Brendon. You rock !!
@TJ-zs2sv6 жыл бұрын
Thanks a lot for such good work, and to give wonderful intuition . :)
@anirbanchakraborty47067 жыл бұрын
Amazing. Can you suggest anything for ELM? Would be much obliging.
@mortezaabdipour55846 жыл бұрын
Thank you for the magnificent presentation
@iamsiddhantsahu6 жыл бұрын
Superb video, loved it!
@patite31033 жыл бұрын
Your video is simply amazing! Would it be possible to make a video applying it to a concrete example in Python?
@特殊符号无法输入特殊7 жыл бұрын
Thank you , it's really lively.
@tanmaynagori49776 жыл бұрын
You sir are awesome!!
@simonstrandgaard55035 жыл бұрын
Great explanation
@butterflytwilight6 жыл бұрын
Extremely well explained, very helpful... @Brandon a request - can you also post a video tutorial with the Math behind the SVM?
@JeanPaulUS5 жыл бұрын
Excellent explanation. If you don't understand SVM from here you will probably never understand it
@omarlugos7 жыл бұрын
how you created the plots?
@BrandonRohrer7 жыл бұрын
Python and matplotlib. There's a link to the code in the comments.