Machine Learning and AI: Support Vector Machines in Python
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
Requirements
- Calculus, Matrix Arithmetic / Geometry, Basic Probability
- Python and Numpy coding
- Logistic Regression
Description
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
Who this course is for:
- Beginners who want to know how to use the SVM for practical problems
- Experts who want to know all the theory behind the SVM
- Professionals who want to know how to effectively tune the SVM for their application
Instructor
The Lazy Programmer is a seasoned online educator with an unwavering passion for sharing knowledge. With over 10 years of experience, he has revolutionized the field of data science and machine learning by captivating audiences worldwide through his comprehensive courses and tutorials.
Equipped with a multidisciplinary background, the Lazy Programmer holds a remarkable duo of master's degrees. His first foray into academia led him to pursue computer engineering, with a specialized focus on machine learning and pattern recognition. Undeterred by boundaries, he then ventured into the realm of statistics, exploring its applications in financial engineering.
Recognized as a trailblazer in his field, the Lazy Programmer quickly embraced the power of deep learning when it was still in its infancy. As one of the pioneers, he fearlessly embarked on instructing one of the first-ever online courses on deep learning, catapulting him to the forefront of the industry.
Beyond the realm of education, the Lazy Programmer possesses invaluable hands-on experience that has shaped his expertise. His ventures into online advertising and digital media have yielded astounding results, propelling click-through rates and conversion rates to new heights and boosting revenues by millions of dollars at the companies he's worked for. As a full-stack software engineer, he boasts intimate familiarity with an array of backend and web technologies, including Python, Ruby on Rails, C++, Scala, PHP, Javascript, SQL, big data, Spark, and Redis.
While his achievements in the field of data science and machine learning are awe-inspiring, the Lazy Programmer's intellectual curiosity extends far beyond these domains. His fervor for knowledge leads him to explore diverse fields such as drug discovery, bioinformatics, and algorithmic trading. Embracing the challenges and intricacies of these subjects, he strives to unravel their potential and contribute to their development.
With an unwavering commitment to his students and a penchant for simplifying complex concepts, the Lazy Programmer stands as an influential figure in the realm of online education. Through his courses in data science, machine learning, deep learning, and artificial intelligence, he empowers aspiring learners to navigate the intricate landscapes of these disciplines with confidence.
As an author, mentor, and innovator, the Lazy Programmer leaves an indelible mark on the world of data science, machine learning, and beyond. With his ability to demystify the most intricate concepts, he continues to shape the next generation of data scientists and inspires countless individuals to embark on their own intellectual journeys.