Machine Learning and AI: Support Vector Machines in Python
- Descripción
- Currículo
- FAQ
- Reseñas
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
-
5Beginner's Corner: Section IntroductionLección de video
-
6Image Classification with SVMsLección de video
-
7Spam Detection with SVMsLección de video
-
8Medical Diagnosis with SVMsLección de video
-
9Regression with SVMsLección de video
-
10Cross-ValidationLección de video
-
11How do you get the data? How do you process the data?Lección de video
-
12Suggestion BoxLección de video
-
13Basic GeometryLección de video
-
14Normal VectorsLección de video
-
15Logistic Regression ReviewLección de video
-
16Loss Function and RegularizationLección de video
-
17Prediction ConfidenceLección de video
-
18Nonlinear ProblemsLección de video
-
19Linear Classifiers Section ConclusionLección de video
-
20Linear SVM Section Introduction and OutlineLección de video
-
21Linear SVM Problem Setup and DefinitionsLección de video
-
22MarginsLección de video
-
23Linear SVM ObjectiveLección de video
-
24Linear and Quadratic ProgrammingLección de video
-
25Slack VariablesLección de video
-
26Hinge Loss (and its Relationship to Logistic Regression)Lección de video
-
27Linear SVM with Gradient DescentLección de video
-
28Linear SVM with Gradient Descent (Code)Lección de video
-
29Linear SVM Section SummaryLección de video
-
30Duality Section IntroductionLección de video
-
31Duality and Lagrangians (part 1)Lección de video
-
32Lagrangian Duality (part 2)Lección de video
-
33Relationship to Linear ProgrammingLección de video
-
34Predictions and Support VectorsLección de video
-
35Why Transform Primal to Dual?Lección de video
-
36Duality Section ConclusionLección de video
-
37Kernel Methods Section IntroductionLección de video
-
38The Kernel TrickLección de video
-
39Polynomial KernelLección de video
-
40Gaussian KernelLección de video
-
41Using the Gaussian KernelLección de video
-
42Why does the Gaussian Kernel correspond to infinite-dimensional features?Lección de video
-
43Other KernelsLección de video
-
44Mercer's ConditionLección de video
-
45Kernel Methods Section SummaryLección de video
-
46Dual with Slack VariablesLección de video
-
47Simple Approaches to ImplementationLección de video
-
48SVM with Projected Gradient Descent CodeLección de video
-
49Kernel SVM Gradient Descent with Primal (Theory)Lección de video
-
50Kernel SVM Gradient Descent with Primal (Code)Lección de video
-
51SMO (Sequential Minimal Optimization)Lección de video
-
52Support Vector RegressionLección de video
-
53Multiclass ClassificationLección de video
-
54Neural Networks Section IntroductionLección de video
-
55RBF NetworksLección de video
-
56RBF ApproximationsLección de video
-
57What Happened to Infinite Dimensionality?Lección de video
-
58Build Your Own RBF NetworkLección de video
-
59Relationship to Deep Learning Neural NetworksLección de video
-
60Neural Network-SVM MashupLección de video
-
61Neural Networks Section ConclusionLección de video
-
68How to Succeed in this Course (Long Version)Lección de video
-
69Is this for Beginners or Experts? Academic or Practical? Fast or slow-paced?Lección de video
-
70Machine Learning and AI Prerequisite Roadmap (pt 1)Lección de video
-
71Machine Learning and AI Prerequisite Roadmap (pt 2)Lección de video


