Machine Learning 41: Support Vector Machines - SMO Algorithm

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 15

  • @shashanksharma1498
    @shashanksharma1498 13 днів тому

    These are really excellent resources, thanks Professor BadAss

  • @toja2891
    @toja2891 22 дні тому

    Thanks! I coulnd't find explanaition on how to implement finding alphas on your own - your explanation was great!

  • @xingfang8507
    @xingfang8507 Рік тому +2

    Thanks man! Your work is greatly appreciated! ❤ from Illinois

  • @Zediwan
    @Zediwan Рік тому +2

    Really good explanation thanks a lot!

  • @shashanksharma1498
    @shashanksharma1498 7 днів тому

    Dear Professor Badass,
    I on paper tried to run the SMO algorithm for an SVM problem with only 4 data points. I have the below doubts -
    1) I need to run the iteration till convergence, i.e when my alphas all respect the constraint and stop changing considerably?
    2) As the constraint y(w.x+b) >= 1 is already factored into the dual problem and alongside the constraint of sum (alphai x yi) = 0, how can we be certain that the SMO will respect the KKT condition of alpha_i x g(x) = 0? Because no where in the steps has this constraint been formally incorporated into the dual cost function. Hope you get to see this comment.

  • @LeyunChane
    @LeyunChane 27 днів тому

    Thanks for your explanation of SMO in SVM, this is the best one! One question at 14:40 : when we are using kernel, how can we evaluate the stopping criterion? Because what we can compute is just X'X, but we only have X in the formula.

    • @LeyunChane
      @LeyunChane 26 днів тому +1

      I see! Because we have W'X in the formula, and the expression of W contains X. Therefore, when we compute y_i(w' x_i +b), it actually has X'X in it. ;-)

    • @kasperglarsen
      @kasperglarsen  26 днів тому

      @@LeyunChane Exactly!

  • @Zediwan
    @Zediwan Рік тому +2

    At 12:51 where you have 3 quadratic functions:
    For the one on the right you have drawn the maximum at the right border of our range but the function still goes up inside (on the left of the right bound) our range so wouldn't then the maximum be further left?

    • @kasperglarsen
      @kasperglarsen  Рік тому

      You are absolutely right. The point is still valid that the max is at one of the boundaries of the interval. However it should have been on the left, not the right. Good catch!

  • @ritwikjain8095
    @ritwikjain8095 2 роки тому

    Great playlist, is coding video to be upload or only theory videos are here.

    • @kasperglarsen
      @kasperglarsen  2 роки тому

      Thank you very much! For now, it will only be the theory videos unfortunately. I am recording them as part of a machine learning course I am teaching at my department and there we have extra sessions for coding.

    • @ritwikjain8095
      @ritwikjain8095 2 роки тому

      @@kasperglarsen Thanks a lot for reply, should I get those coding pages, is it on github? if ! kindly share url. Thanks again

    • @kasperglarsen
      @kasperglarsen  2 роки тому

      @@ritwikjain8095 Sure, you can access it here: github.com/kaspergl/ML22
      Of course our students have an assigned teaching assistant, but hopefully you can still get something out of it.

    • @ritwikjain8095
      @ritwikjain8095 2 роки тому

      @@kasperglarsen Thanks for sharing link.