Share it with your friends Like

Thanks! Share it with your friends!


MIT 6.034 Artificial Intelligence, Fall 2010
View the complete course:
Instructor: Patrick Winston

In this lecture, we explore support vector machines in some mathematical detail. We use Lagrange multipliers to maximize the width of the street given certain constraints. If needed, we transform vectors into another space, using a kernel function.

License: Creative Commons BY-NC-SA
More information at
More courses at



Chongli Wan says:

my apology but what is the convex thing in svm that makes the solution global not local? Could it be the cost function but i did not see it here.

Sreejesh Mohanan says:

Best explanation of SVM ever in the World/Internet.. Salute!

theshan says:

at 28:51 we get an equation to calculate w in term of the duals ai. But is there an equation for b?

indigoriviera says:

Awesome lecture, I understand SVMs now. Thanks so much.

Ken Corigliano says:

This course and instructor are amazing. This is out of date and not relevant any longer.

Nelson Elias Salinas says:

:O … As clear as water in the Caribbean

eshaagrawal04 says:

Tried many videos but This is Best Explanation of SVM .

Herr Monsieur says:

What a good explanation! Thank you, it is really important to make things simpler than complex like other teachers do. I think I understood it right now! The only part is the transformation from a minimization problem to a max. problem, where I think more explanation is useful. But this is more opt. stuff. Thank you Prof!

Sophia Mujawar says:

Why is the professor panting so much? I hope he's healthy

Jack Luo says:

could someone please explain to me why 8:40 to 9:30 is the way it is? I'm so lost on this step… why did it turn from >=0 to >= 1

Bjarke Thomsen says:

Why is this dinosaur using chalk?

Islam Sami says:

I liked the story he ended the lecture with. Lecturing is quite a talent.

eVul6 says:

I was watching the video and thinking "Wow, the pace of the lectures at MIT is pretty fast. These students must be really bright to follow the professor. No wonder that I'm not studying there". At the end, I found that, unbeknownst to me, I was watching it all along at the 1.25 speed.

renger6002 says:

Is that Anderson Cooper in the front row?

Matthew Russell says:

Someone give this man a medal. Pure brilliance. Thanks for sharing.

Faraz Jamal says:

loved it,thank you so much

E M says:

Does Winston still thinks SVMs are better then NNs / DNNs?

Fahraynk says:

If Y(w*x+B)-1=0, and y = -1 => w*x = 1+B.
1-B-(1+B) = -2B
The math errors are unbearable.

Erbo Shan says:

dot(x,w) ?= dot(w,x)
i get lost in this part

Dr. Rajen Bhatt says:

At 11M and 33 S, Prof. Multiplies two basic equations with Y_i and forgets to attach W to X_i. Keep patience, Prof. Just forgot, student points to that one and then Prof. Corrects that. I already kept thinking for a while that oh man, what's going on here and then decided to move and see what happens!

s4ckm4n says:

And how do I compute 'b'?

Tanuj Gupta says:

didn't know Philip Seymour Hoffman was professor at mit…

Ian Zhang says:

Great chalk writing/drawing.

Alexander Yau says:

Good, very intuitive.

Write a comment


DARPA SUPERHIT 2021 Play Now!Close


(StoneBridge Mix)

Play Now!