Mathematics of SVM | Support Vector Machines | Hard margin SVM

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024
  • Created by InShot:inshotapp.com/...

Комментарии • 114

  • @atharvasuryawanshi2455
    @atharvasuryawanshi2455 Год назад +45

    This video made me emotional ....I couldn't understand my professor's slides at all but now its damn easy. This channel is underrated for sure.

  • @tanishdogra8815
    @tanishdogra8815 2 месяца назад +7

    04:22 The main goal of SVM is to find the equation of a hyperplane with the maximum margin between positive and negative hyperplanes.
    08:44 In machine learning, a decision rule can be derived using the equation w * u + b > 0.
    13:06 The equation of the hyperplanes is assumed to be W transpose x + b = 1 for the positive hyperplane and W transpose x + b = -1 for the negative hyperplane.
    17:28 The distance calculation involves simplifying equations to x squared and creating positive and negative lines for convenience.
    21:50 Multiplying by a factor greater than 1 shrinks the margin, while multiplying by a factor less than 1 expands the margin.
    26:12 Maximize distance between positive and negative hyperplanes with constraints
    30:34 The distance between two support vectors in SVM can be calculated using the dot product of the vectors and the unit vector
    34:54 The expression for distance calculation and the optimization function in SVM
    Crafted by Merlin AI.

  • @jawedali4648
    @jawedali4648 Год назад +7

    Raat me video bnake dark circle bn gye hain, but really thanks for this content. well explained.

  • @samiddhachakrabarti4461
    @samiddhachakrabarti4461 Год назад +12

    All other RUclips videos just explain the basics, but no one explains the maths behind the SVM. But you explained the whole mathematics of SVM. I was stuck on understanding the logic behind the SVM, and even I read many books on ML, but I had not get brief explanation. But your video helps me a lot.

  • @bhupendraahirwar3456
    @bhupendraahirwar3456 2 года назад +43

    i am a PhD scholar at NIT in Mathematics this video is for actual working of SVM rather than those 10 min video whose aim is just views but the viewer doesn't know.

    • @editor_real
      @editor_real Год назад +4

      I am pursuing eco Hons now first year and it is easily understandable what he is trying to teach , most underrated channel

  • @sober_22
    @sober_22 Год назад +11

    India need teachers like you.

  • @saurabhnandsrivastava7474
    @saurabhnandsrivastava7474 3 года назад +10

    Your explanations are simply best .. if u understand with patience point by point ....u can answer questions on them even in sleep ....thnkx bro

  • @theubiwhovian
    @theubiwhovian 8 месяцев назад +2

    It's commendable how painstakingly you explain every single detail! Wish we had more professors like you.
    Thanks a ton for these videos, you're a life saviour..

  • @chalmerilexus2072
    @chalmerilexus2072 2 года назад +17

    What an explanation! Beyond words. Thank you for knowledge spreading

  • @apoorva3635
    @apoorva3635 2 года назад +11

    Beautifully explained. Stumbled upon this video after a long search. You are better than many of the top ML teachers on YT. Thank you very much :).

  • @GAURAVKUMAR-mf6lq
    @GAURAVKUMAR-mf6lq Год назад +2

    Loved your Explanation i am Mtech cse from NIT

  • @AMANVERMA-bq8hj
    @AMANVERMA-bq8hj 8 месяцев назад +1

    Don't have words to thank you sir for this more than amazing explanation ! Tried multiple sources but it became more of rote learning but your video actually made me understand how SVM works ! Thanks a Ton Sir ! :)

  • @uditmodi4-yearb.tech.minin381
    @uditmodi4-yearb.tech.minin381 Год назад +1

    i can bet, you can't have a better playlist than this🤲
    This guy is damn good

  • @ahbazmemon9369
    @ahbazmemon9369 3 года назад +3

    Best explanation I ever seen for such complex topic. Thankyou sir👏

  • @tarunnegi3045
    @tarunnegi3045 Месяц назад

    The main goal of SVM is to find the equation of a hyperplane with the maximum margin between positive and negative hyperplanes.
    04:22
    In machine learning, a decision rule can be derived using the equation w * u + b > 0.
    08:44
    The equation of the hyperplanes is assumed to be W transpose x + b = 1 for the positive hyperplane and W transpose x + b = -1 for the negative hyperplane.
    13:06
    The distance calculation involves simplifying equations to x squared and creating positive and negative lines for convenience.
    17:28
    Multiplying by a factor greater than 1 shrinks the margin, while multiplying by a factor less than 1 expands the margin.
    21:50
    Maximize distance between positive and negative hyperplanes with constraints
    26:12
    The distance between two support vectors in SVM can be calculated using the dot product of the vectors and the unit vector
    30:34
    The expression for distance calculation and the optimization function in SVM
    Click to expand
    34:54

  • @madhavilathamandaleeka5953
    @madhavilathamandaleeka5953 3 года назад +1

    That explanation with the help of Graph tool is just fabulous.... beginners can easily grasp....Thank you so much 👏

  • @narendraparmar1631
    @narendraparmar1631 7 месяцев назад

    I am having very good learning experience from you
    Thanks for your efforts.

  • @Kashifspeaks_
    @Kashifspeaks_ Год назад

    Ammmazing guy i just wnated to know about maths of svm to write in my sem exam( b.e) and now i know much more than just that please keep doing tye great work

  • @reel_viewer
    @reel_viewer Год назад

    What , an , explaination ... What an explaination !!! Hat's off boss🙌

  • @jiteshsingh98
    @jiteshsingh98 2 года назад +2

    Oh Wow Wow wow I Found This Amazing Channel 🔥 🔥

  • @saijena8552
    @saijena8552 Год назад

    This is the best explanation of SVM....Keep doing good work

  • @finaz_18
    @finaz_18 6 месяцев назад

    data science aspirant needs a teacher like you

  • @satyaprakashmahalik6370
    @satyaprakashmahalik6370 Год назад

    Best explanation of SVM I have ever seen till now...Amazing man...keep working

  • @khushboobansal3894
    @khushboobansal3894 Год назад +2

    Loved the explanation! Thank you so much

  • @meenatyagi9740
    @meenatyagi9740 Год назад

    Thanks for giving such a good explaination on this topic on I was struggling to get clearity.It really helped me to get good picture of mathematical concept behind svm.

  • @deveshnandan323
    @deveshnandan323 Год назад +2

    Next Level , Itne detail meein Kaun batata haiii... you are
    while(1) GEM :)

  • @princepandey7390
    @princepandey7390 Год назад +1

    Thank you mere ❤️ bhai 😘😘😘😘😘😘
    Sach kahu kai videos me muh maar lis lekin samjh yahi aya i love you

  • @ramishsaeedpk
    @ramishsaeedpk 3 месяца назад

    this playlist saved my life

  • @divyanshugera3187
    @divyanshugera3187 Год назад

    Coming here after MIT openware SVM video and bro let me tell you one thing, you are amazinnnggg

  • @playwithcode_python
    @playwithcode_python Год назад +1

    What a explained bro God bless you

  • @mdsihabuddin9856
    @mdsihabuddin9856 3 года назад

    It was really very helpful lesson. Thanks for your support.

  • @MaindolaMusic
    @MaindolaMusic 5 месяцев назад

    Best video for svm

  • @dhananjaygurav6335
    @dhananjaygurav6335 Год назад +1

    It's amazing one 🤩👏... you are requested to recreate one dedicated video for SVM in which you will explain SVM theory as well as one small example

  • @Sandesh.Deshmukh
    @Sandesh.Deshmukh 2 года назад +1

    Best explanation of SVM I ever seen ❤🙌 #NitishSir

  • @arshiyabegum6644
    @arshiyabegum6644 Год назад +3

    Feel like clicking the like button million times🙏

  • @ParthivShah
    @ParthivShah 4 месяца назад +1

    Thank You Sir.

  • @AmanKumar-jv4sv
    @AmanKumar-jv4sv Год назад +1

    take a bow brother.....brilliant explanation

  • @vasoyarutvik2897
    @vasoyarutvik2897 5 месяцев назад

    Girls :- Let me do makeup properly i have to take online class
    Le boys:- .............🤣
    btw very good lecture sir

  • @urviupadhyay1639
    @urviupadhyay1639 Год назад +1

    Great explaination

  • @AbdusSamad-ts7yg
    @AbdusSamad-ts7yg Год назад +1

    great explanation Sir

  • @sahilmahajan421
    @sahilmahajan421 Год назад +1

    hats off man. this video is amazing

  • @adityamishra6954
    @adityamishra6954 2 года назад +2

    Maja aa gya

  • @user-gp1zy3up7y
    @user-gp1zy3up7y 4 месяца назад

    fantastic math u explicated.

  • @kadambalrajkachru8933
    @kadambalrajkachru8933 2 года назад +1

    Nice explanation keep going bro...

  • @mdkallis
    @mdkallis 11 месяцев назад

    superr bro ......Amazing explanation..

  • @akhil7895
    @akhil7895 9 месяцев назад

    Simply explained. ❤

  • @mainak222
    @mainak222 7 месяцев назад

    amazing video!

  • @geetanshusinghnegi2672
    @geetanshusinghnegi2672 9 месяцев назад

    Thanks a lot for this easy explanation :)

  • @subodhkedar2221
    @subodhkedar2221 3 года назад +1

    Thanks for such nice efforts

  • @Loki-yg9lq
    @Loki-yg9lq 4 месяца назад

    Bro your video is extremely good kudos to you. Just improve the sound quality as every thing is hazy while listening that is manageable. But overall awesome❤❤❤

  • @mohsinkamal2638
    @mohsinkamal2638 11 месяцев назад

    lovely explanation. Thanks alot.

  • @kislaykrishna8918
    @kislaykrishna8918 3 года назад +2

    thanks sir 🙏

  • @rishavraj4401
    @rishavraj4401 Год назад +1

    👍👍👍👍 Best

  • @mr.luvnagpal7407
    @mr.luvnagpal7407 2 года назад +2

    best best best!!!!

  • @peaceandlov
    @peaceandlov 2 года назад +1

    great

  • @jaybhanushali8559
    @jaybhanushali8559 6 месяцев назад

    Samaj gaya. Ye video pehele kyu nahi dekhi maine

  • @heetbhatt4511
    @heetbhatt4511 7 месяцев назад

    Thank you sir

  • @sandipansarkar9211
    @sandipansarkar9211 Год назад +1

    finished watching

  • @manudasmd
    @manudasmd 10 месяцев назад

    You are a legend bro🎉🎉

  • @fatehpreetsingh1440
    @fatehpreetsingh1440 2 года назад +1

    thanks it was amazing

  • @abhishek171278
    @abhishek171278 2 месяца назад

    Sir can you please make another svm lecture including mathematics of primal and dual formulation and why dual is important

  • @abhishektehlan7814
    @abhishektehlan7814 2 года назад +1

    maje aa gaye yaar

  • @prakhartrivedi4442
    @prakhartrivedi4442 4 месяца назад

    pls anyone answer these question
    1) the planes pie(+) and pie(-) are decided by the support vectors then how come their equation can be guaranteed to be wx+b=1 and wx+b=-1
    2)if the equation are wx+b=1 and wx+b=-1 , the margin(d) we aiming to maximize is basically the distance bw these two planes only, and if we see the distance bw these two planes is 2 which is a constant then how come we can maximize a constant

  • @ayu1323
    @ayu1323 2 года назад +1

    godly loved it

  • @inquisitivelearner8649
    @inquisitivelearner8649 Год назад +1

    w bar is what? u bar is what? Cn you please tell? I understood c as the linear distance from origin to the hyperplane.

  • @justchillin5084
    @justchillin5084 7 месяцев назад

    "Already life mey bahot problems hey, aur pange kyun le rahe hey?"🤣

  • @sachinraj6875
    @sachinraj6875 4 месяца назад

    please tell me how the perpendicular w and the coffiecient line vector w are same ??? how

  • @harshmankodiya9397
    @harshmankodiya9397 3 года назад +1

    The so-called real math exaplanation.

  • @Sumit-mp6ze
    @Sumit-mp6ze 5 дней назад

    you very casually said that projection is dot product, can you please provide any source where its written that dot product is actually projection of one vector over another

  • @anozatix1022
    @anozatix1022 3 месяца назад

    Hey isnt the projection formula of w on u is dot prod of w and v divided by magnitude of u?

  • @SA-lt8pc
    @SA-lt8pc Год назад +1

    the equation answer is not 7 it is 10

  • @AkshatMishra-m8v
    @AkshatMishra-m8v Месяц назад

    hello sir why we taking projection of one vector on another??
    and how we get that equation 03:54

  • @satyamsahoo9396
    @satyamsahoo9396 11 месяцев назад

    Thanks a lot SIR

  • @shauryatiwari7462
    @shauryatiwari7462 7 месяцев назад

    for x1, the equation y(wx+b) should be -1, you have kept it +1, am I missing something ?

  • @techteens694
    @techteens694 6 месяцев назад

    I have a doubt, pi+ and pi- are basically hyperplanes passing through the closet points from the hyperplane wx + b = 0(let's say hyperplane p), what if the distance between pi+ and p is not the same as pi- and p, there can be a case in which the distance between the nearest point of one class and the hyperplane p and the distance between the nearest point of the other class and hyperplane p may not be equal.....what to do in this kind of a case? And how do we optimize the distance function?

    • @MaindolaMusic
      @MaindolaMusic 5 месяцев назад

      No, the distances between the hyperplane and margin planes are always equal as the hyperplane is in a way the middle plane of both margin planes

  • @bishwajeetsharma3498
    @bishwajeetsharma3498 3 года назад +2

    d distance nikalne ke liye W ko unit vector mein kyun convert kiya?

  • @ankanmazumdar5000
    @ankanmazumdar5000 2 года назад +1

    detailed intuition & derivation

  • @mrinmoynil8145
    @mrinmoynil8145 3 года назад +1

    why we consider y=wTx+c over y=mx+c

  • @laveenbagai6327
    @laveenbagai6327 3 года назад +1

    You got a sub :)

  • @shiza1442
    @shiza1442 28 дней назад

    thanksssssssssssss

  • @varshakamble2095
    @varshakamble2095 11 месяцев назад

    sir your voice is very low at starting of this video , remaining was very helpful

  • @vanshshah6418
    @vanshshah6418 2 года назад +1

    you cant found better explanation of svm on youtube than this video, I guarantee you!!

    • @saptarshisanyal4869
      @saptarshisanyal4869 2 года назад +1

      If you have understood it then can u pls explan why he replaced -C with +b @4.42

  • @sameerabanu3115
    @sameerabanu3115 10 месяцев назад

    👏👏👏👏👏👏

  • @Yzyou11
    @Yzyou11 2 года назад +1

    😍😍😍👍👍👍

  • @good114
    @good114 Год назад +1

    💕❤️

  • @zee4654
    @zee4654 2 года назад +3

    when replace c with b why to change sign ( - ) to ( + ) ? :(

  • @thatsfantastic313
    @thatsfantastic313 Год назад +1

  • @HeyLook_
    @HeyLook_ 2 года назад +1

    Hi sir, As we were trying to achieve hypothesis line in Logistic regression such that it achieves equilibrium among dataPoints. And in SVM also we are doing same thing . Then what is the difference/ how it is solving logistic regression's problem/ or what is the problem in Logistic regression when we have achieved Equilibrium hypothesis line ?
    @CampusX

    • @Tusharchitrakar
      @Tusharchitrakar 6 месяцев назад

      The optimization problem to obtain the plane is different in each
      . In svm the loss function has two terms: margin and misclassification components. In logitreg, it's the binary cross entropy. So the method in which we obtain the hyper plane is different

  • @hannukoistinen5329
    @hannukoistinen5329 9 месяцев назад

    Bud in India we hade nod yed discovered a razor blade!!!

  • @jaisonphilip251
    @jaisonphilip251 Год назад

    how that -c changed to +b at 4:40 ? I really didn't got it. Can anybody help?

  • @saptarshisanyal4869
    @saptarshisanyal4869 2 года назад +1

    @4:42 You have replaced -C with +b but did not explain the reason. Pls explain it.

    • @ritwiksingh4937
      @ritwiksingh4937 2 года назад

      perhaps there was a slight mistake it should be
      w.u - c = 0.. such that when any point is greater than 0 than it must lie in positive region else negative region... b and c are just contant for positive n negative hyperplane respectively.

  • @SujeethKasukurthi
    @SujeethKasukurthi 2 месяца назад

    when the hyperplane is passing through the origin then only w vector become perpendicular to the decision boundary
    but what your teaching???

  • @vishvadeepmohanpandey129
    @vishvadeepmohanpandey129 2 года назад +1

    How can we repalce minus c by positive b

  • @yashsaxena7754
    @yashsaxena7754 2 года назад

    Great video! One question, at 5:00 you made the decision rule vector(w).vector(u) + b >= 0. How did you put 'b' here which is a characteristic of the hyperplane? Thanks for clarifying in advance.

    • @kifayatUllah712
      @kifayatUllah712 Год назад

      Bismillah
      Obviously, you need to know the intercept of the line. Only knowing the vector w will not help because without b, you don't know where the line is clearly situated. With vector w, you know the direction of the line but not it's exact postition. The line could have a gradient of 3, for e.g., but if you don't know where the line cuts the y axis, how can you make your decision?

    • @nikipatel7602
      @nikipatel7602 Год назад

      did you find the answer?

    • @rishabhinc2936
      @rishabhinc2936 Год назад

      @@nikipatel7602 its similiar to theta0 in linear regression ...exactly what the justcook commented above

  • @rohitkumarsen8378
    @rohitkumarsen8378 Год назад

    ruclips.net/video/yCAlHPDgWtM/видео.html
    sir at this point of time you are multiplying equation by some constant but why right side is not changing ????

  • @reel_viewer
    @reel_viewer Год назад

    asli i'd se aao Andrew NG

  • @sandippatel6999
    @sandippatel6999 2 года назад +1

    great