Udemy

Machine Learning and AI: Support Vector Machines in Python

Enroll Now
  • 31,071 Students
  • Updated 11/2025
4.7
(1,924 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
8 Hour(s) 58 Minute(s)
Language
English
Taught by
Lazy Programmer Inc., Lazy Programmer Team
Rating
4.7
(1,924 Ratings)

Course Overview

Machine Learning and AI: Support Vector Machines in Python

Artificial Intelligence and Data Science Algorithms in Python for Classification and Regression

Support Vector Machines (SVM) are one of the most powerful machine learning models around, and this topic has been one that students have requested ever since I started making courses.

These days, everyone seems to be talking about deep learning, but in fact there was a time when support vector machines were seen as superior to neural networks. One of the things you’ll learn about in this course is that a support vector machine actually is a neural network, and they essentially look identical if you were to draw a diagram.

The toughest obstacle to overcome when you’re learning about support vector machines is that they are very theoretical. This theory very easily scares a lot of people away, and it might feel like learning about support vector machines is beyond your ability. Not so!

In this course, we take a very methodical, step-by-step approach to build up all the theory you need to understand how the SVM really works. We are going to use Logistic Regression as our starting point, which is one of the very first things you learn about as a student of machine learning. So if you want to understand this course, just have a good intuition about Logistic Regression, and by extension have a good understanding of the geometry of lines, planes, and hyperplanes.

This course will cover the critical theory behind SVMs:

  • Linear SVM derivation

  • Hinge loss (and its relation to the Cross-Entropy loss)

  • Quadratic programming (and Linear programming review)

  • Slack variables

  • Lagrangian Duality

  • Kernel SVM (nonlinear SVM)

  • Polynomial Kernels, Gaussian Kernels, Sigmoid Kernels, and String Kernels

  • Learn how to achieve an infinite-dimensional feature expansion

  • Projected Gradient Descent

  • SMO (Sequential Minimal Optimization)

  • RBF Networks (Radial Basis Function Neural Networks)

  • Support Vector Regression (SVR)

  • Multiclass Classification


For those of you who are thinking, "theory is not for me", there’s lots of material in this course for you too!

In this course, there will be not just one, but two full sections devoted to just the practical aspects of how to make effective use of the SVM.

We’ll do end-to-end examples of real, practical machine learning applications, such as:

  • Image recognition

  • Spam detection

  • Medical diagnosis

  • Regression analysis

For more advanced students, there are also plenty of coding exercises where you will get to try different approaches to implementing SVMs.

These are implementations that you won't find anywhere else in any other course.


Thanks for reading, and I’ll see you in class!


"If you can't implement it, you don't understand it"

  • Or as the great physicist Richard Feynman said: "What I cannot create, I do not understand".

  • My courses are the ONLY courses where you will learn how to implement machine learning algorithms from scratch

  • Other courses will teach you how to plug in your data into a library, but do you really need help with 3 lines of code?

  • After doing the same thing with 10 datasets, you realize you didn't learn 10 things. You learned 1 thing, and just repeated the same 3 lines of code 10 times...


Suggested Prerequisites:

  • Calculus

  • Matrix Arithmetic / Geometry

  • Basic Probability

  • Logistic Regression

  • Python coding: if/else, loops, lists, dicts, sets

  • Numpy coding: matrix and vector operations, loading a CSV file


WHAT ORDER SHOULD I TAKE YOUR COURSES IN?:

  • Check out the lecture "Machine Learning and AI Prerequisite Roadmap" (available in the FAQ of any of my courses, including the free Numpy course)


UNIQUE FEATURES

  • Every line of code explained in detail - email me any time if you disagree

  • No wasted time "typing" on the keyboard like other courses - let's be honest, nobody can really write code worth learning about in just 20 minutes from scratch

  • Not afraid of university-level math - get important details about algorithms that other courses leave out

Course Content

  • 10 section(s)
  • 74 lecture(s)
  • Section 1 Welcome
  • Section 2 Beginner's Corner
  • Section 3 Review of Linear Classifiers
  • Section 4 Linear SVM
  • Section 5 Duality
  • Section 6 Kernel Methods
  • Section 7 Implementations and Extensions
  • Section 8 Neural Networks (Beginner's Corner 2)
  • Section 9 Appendix / FAQ Intro
  • Section 10 Setting Up Your Environment (FAQ by Student Request)

What You’ll Learn

  • Apply SVMs to practical applications: image recognition, spam detection, medical diagnosis, and regression analysis
  • Understand the theory behind SVMs from scratch (basic geometry)
  • Use Lagrangian Duality to derive the Kernel SVM
  • Understand how Quadratic Programming is applied to SVM
  • Support Vector Regression
  • Polynomial Kernel, Gaussian Kernel, and Sigmoid Kernel
  • Build your own RBF Network and other Neural Networks based on SVM


Reviews

  • K
    Kishore Dasari
    5.0

    Absolutely wonderful, thank you Lazy Programmer!

  • V
    Vivek Kumar
    1.0

    Extremely boring

  • J
    Juan Pablo Arango Saldarriaga
    5.0

    As always, Lazy Programmer's classes are amazing, so this isn't the opposite. By far, the best teacher on Udemy. I love the way he teaches and, at least for me, encourages me to think about theoretical aspects of ML and take those concepts to code. The knowledge I've gained studying his courses really amazes me. Looking forward to take all of his courses to make more robust my intuitions about ML. Really love this guy and the way he delivers us some of the best material on the internet.

  • Y
    YuanYuan Olsen
    1.0

    I would give him(the instructor)/it(his lecture) a negative star if there were an option. 1 star is over rated. The fact that this lazy programmer instructor doesn't want to reveal his real name/identity smelled fishy for me at the beginning but I gave him a benefit of doubt by really diving in the training. The material in this course involves lots of high level math and very complicated. Since I am determined to learn, undeterred I embrace it with grit and perseverance. Along the way, I caught a mistake in his narrative. It could be a careless mistake of his. I have been very patient and forgiving. I did ask questions. this lazy programmer was super rude and extremely arrogant and never gave me straight answers as if he was afraid that students really learned and understood the concepts. I can sense him that he is very insecure. I am not sure how he created this course(plagiarizing other's work?). I suspect that he didn't know the answers and tried using condescending, stuck-up and cocky attitude to conceal his ignorance. I bought many Udemy classes. All instructors are nice except him. This is a very bad learning experience: constantly belittled by a charlatan. Maybe that is why he was afraid to use his real name. I also checked the Q and A section. It doesnt seem many people taking his class and asking him questions. The answers he gave others are in a similar style.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed