# [New Release] Machine Learning and AI: Support Vector Machines in Python

January 22, 2019

### Support Vector Machines in Python

Wow, I didn’t think I’d be coming out with another course so soon – but here it is!

[By the way, I went all-out this time in the VIP version – you’ll want to check it out below – comes with 4 all-new models (both theory+code provided of course)]

SVMs are one of the most robust and powerful machine learning models. It can be a very useful “plug-and-play” solution – just throw your data in the model and wait for the magic to happen.

Unlike deep learning, where you can spend days or weeks tuning your hyperparameters, SVMs only have 2 hyperparameters, which are generally easy to understand and reason about.

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
• SMO (Sequential Minimal Optimization)
• RBF Networks (Radial Basis Function Neural Networks)
• Support Vector Regression (SVR)
• Multiclass Classification

As a VIP bonus, you will also get material for how to apply the “Kernel Trick” to other machine learning models. This is how you can use a model which is normally “weak” (such as linear regression) and make it “strong”. I’ve chosen models from various different areas of machine learning.

• Kernel Linear regression (for regression)
• Kernel Logistic regression (for classification)
• Kernel K-means clustering (for clustering)
• Kernel Principal components analysis (PCA) (for dimensionality reduction)

Remember – the VIP bonus is only available at https://deeplearningcourses.com/c/support-vector-machines-in-python.

See here what linear regression can be capable of:

And logistic regression:

When the kernel trick is applied!

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.

I’ll see you in class!

P.S. As usual, if you primarily use another site (e.g. Udemy) you will automatically get free access (upon request) if you’ve already purchased the VIP version of the course from deeplearningcourses.com.

# New Years 2019

### How to meet your New Years resolutions in 2019

Firstly, I’d like to wish everyone on this list a happy new year, we are off to a great start. The new year is a time to set goals, turn things around, and be better than we were before.

What better way than to learn from thousands of experts around the world who are the best at what they do? Luckily, I’ve got something that will make it just a little easier.

I know a lot of you have been waiting for this – well here it is – the LOWEST price possible on ALL Udemy courses (yes, the whole site!)

For the next 10 days, ALL courses on Udemy (not just mine) are available for just $9.99! For my courses, please use the Udemy coupons below (included in the links below), or if you want, enter the coupon code: JAN2019. For prerequisite courses (math, stats, Python programming) and all other courses (Bitcoin, meditation, yoga, guitar, photography, whatever else you want to learn), follow the links at the bottom (or go to my website). Since ALL courses on Udemy are on sale, if you want any course not listed here, just click the general (site-wide) link, and search for courses from that page. https://www.udemy.com/recommender-systems/?couponCode=JAN2019 https://www.udemy.com/deep-learning-advanced-nlp/?couponCode=JAN2019 ### PREREQUISITE COURSE COUPONS And just as important,$9.99 coupons for some helpful prerequisite courses. You NEED to know this stuff to understand machine learning in-depth:

General (site-wide): http://bit.ly/2oCY14Z
Python http://bit.ly/2pbXxXz
Calc 1 http://bit.ly/2okPUib
Calc 2 http://bit.ly/2oXnhpX
Calc 3 http://bit.ly/2pVU0gQ
Linalg 1 http://bit.ly/2oBBir1
Linalg 2 http://bit.ly/2q5SGEE
Probability (option 1) http://bit.ly/2p8kcC0
Probability (option 2) http://bit.ly/2oXa2pb
Probability (option 3) http://bit.ly/2oXbZSK

### OTHER UDEMY COURSE COUPONS

As you know, I’m the “Lazy Programmer”, not just the “Lazy Data Scientist” – I love all kinds of programming!

iOS courses:
https://lazyprogrammer.me/ios

Android courses:
https://lazyprogrammer.me/android

Ruby on Rails courses:
https://lazyprogrammer.me/ruby-on-rails

Python courses:
https://lazyprogrammer.me/python

Big Data (Spark + Hadoop) courses:

Javascript, ReactJS, AngularJS courses:
https://lazyprogrammer.me/javascript

### EVEN MORE COOL STUFF

Into Yoga in your spare time? Photography? Painting? There are courses, and I’ve got coupons! If you find a course on Udemy that you’d like a coupon for, just let me know and I’ll hook you up!

# Artificial Intelligence Boxing Day Blowout!

December 26, 2018

#### Deep Learning and AI Courses for just $11.99 # Boxing Day 2018 ### Celebrate the Holidays with New AI & Deep Learning Courses! I’ve been busy making free content and updates for my existing courses, so guess what that means? Everything on sale! For the next week, all my Deep Learning and AI courses are available for just$11.99!

For my courses, please use the coupons below (included in the links), or if you want, enter the coupon code: DEC2018.

For prerequisite courses (math, stats, Python programming) and all other courses, follow the links at the bottom for sales of up to 90% off!

Since ALL courses on Udemy on sale, if you want any course not listed here, just click the general (site-wide) link, and search for courses from that page.

https://www.udemy.com/recommender-systems/?couponCode=DEC2018

# Black Friday 2018

### Udemy’s BIGGEST Sale of the YEAR is back!

I know a lot of you have been waiting for this – well here it is – the LOWEST price possible on ALL Udemy courses (yes, the whole site!)

For the next 7 days, ALL courses on Udemy (not just mine) are available for just $9.99! For my courses, please use the coupons below (included in the links below), or if you want, enter the coupon code: NOV2018. For prerequisite courses (math, stats, Python programming) and all other courses (yoga, guitar, photography, whatever else you want to learn), follow the links at the bottom. Since ALL courses on Udemy are on sale, if you want any course not listed here, just click the general (site-wide) link, and search for courses from that page. https://www.udemy.com/recommender-systems/?couponCode=NOV2018 ### PREREQUISITE COURSE COUPONS And just as important,$9.99 coupons for some helpful prerequisite courses. You NEED to know this stuff to understand machine learning in-depth:

General (site-wide): http://bit.ly/2oCY14Z
Python http://bit.ly/2pbXxXz
Calc 1 http://bit.ly/2okPUib
Calc 2 http://bit.ly/2oXnhpX
Calc 3 http://bit.ly/2pVU0gQ
Linalg 1 http://bit.ly/2oBBir1
Linalg 2 http://bit.ly/2q5SGEE
Probability (option 1) http://bit.ly/2p8kcC0
Probability (option 2) http://bit.ly/2oXa2pb
Probability (option 3) http://bit.ly/2oXbZSK

### OTHER UDEMY COURSE COUPONS

As you know, I’m the “Lazy Programmer”, not just the “Lazy Data Scientist” – I love all kinds of programming!

iOS courses:
https://lazyprogrammer.me/ios

Android courses:
https://lazyprogrammer.me/android

Ruby on Rails courses:
https://lazyprogrammer.me/ruby-on-rails

Python courses:
https://lazyprogrammer.me/python

Big Data (Spark + Hadoop) courses:

Javascript, ReactJS, AngularJS courses:
https://lazyprogrammer.me/js

### EVEN MORE COOL STUFF

Into Yoga in your spare time? Photography? Painting? There are courses, and I’ve got coupons! If you find a course on Udemy that you’d like a coupon for, just let me know and I’ll hook you up!

# NEW course! Recommender Systems and Deep Learning in Python

September 13, 2018

### Recommender Systems and Deep Learning in Python

So excited to tell you about my new course!

Believe it or not, almost all online businesses today make use of recommender systems in some way or another.

What do I mean by “recommender systems”, and why are they useful?

Let’s look at the top 3 websites on the Internet, according to Alexa: Google, YouTube, and Facebook.

Recommender systems form the very foundation of these technologies.

YouTube: Video dashboard (and recommendations to the right of every video)

This course is a big bag of tricks that make recommender systems work across multiple platforms.

We’ll look at popular news feed algorithms, like RedditHacker News, and Google PageRank.

We’ll look at Bayesian recommendation techniques that are being used by a large number of media companies today.

But this course isn’t just about news feeds.

Companies like AmazonNetflix, and Spotify have been using recommendations to suggest products, movies, and music to customers for many years now.

These algorithms have led to billions of dollars in added revenue.

So I assure you, what you’re about to learn in this course is very real, very applicable, and will have a huge impact on your business.

For those of you who like to dig deep into the theory to understand how things really work, you know this is my specialty and there will be no shortage of that in this course. We’ll be covering state of the art algorithms like matrix factorization and deep learning (making use of both supervised andunsupervised learning), and you’ll learn a bag full of tricks to improve upon baseline results.

Whether you sell products in your e-commerce store, or you simply write a blog – you can use these techniques to show the right recommendations to your users at the right time.

If you’re an employee at a company, you can use these techniques to impress your manager and get a raise!

I’ll see you in class!

GET THE COURSE NOW

Note: this course is NOT a part of my deep learning series (it’s not Deep Learning part 11) because while it contains a major deep learning component, a lot of the course uses non-deep learning techniques as well. The deep learning parts apply modified neural network architectures and deep learning technologies to the recommender problem.

# Special Announcment: Deep Learning Keras Book!

September 12, 2018

# Simple Deep Learning for Programmers

### Learn Deep Learning via Keras examples with absolutely no math

I’m always intrigued when students tell me they want to learn deep learning without doing any math.

I was explaining to someone just yesterday – if you look at <insert famous deep learning book by famous deep learning researcher here> – the entire thing is actually cover to cover equations. Ha!

Anyhow, I wanted to test this hypothesis. How far can one get, if they try to learn deep learning via an API?

So I made this little book. It’s full of Keras examples, starting from a basic feedforward neural network, then adding some modern techniques like dropout and batch norm, then moving to more advanced architectures like CNNs and RNNs.

Of course, if you are a reader of my newsletter, you probably aren’t afraid of math!

But, I thought I’d share this book with you anyway, since it contains some interesting examples that you haven’t seen in my courses before.

– CIFAR dataset
– time series prediction using an RNN
– machine translation using a Bidirectional RNN (not a seq-to-seq model as in my Advanced NLP course)

This would also be a great opportunity to brush up on your Keras skills, which are going to be useful for my next course (hopefully coming out in a few days!)

Finally – I’ve also linked below my related book, “Simple Machine Learning for Programmers” – it is a similar experiment in teaching about machine learning using an API with no math. It’s the same as the machine learning section of my Numpy course but I know some students like to have written versions of things so they can read on the subway / airplane. If so, check it out!

# July 2018

### Too hot outside? Watch AI & Deep Learning videos instead!

I’ve been busy making free content and updates for my existing courses, so guess what that means? Everything on sale!

For the next 3 days, ALL courses on Udemy (not just mine) are available for just $9.99! This is the lowest price possible on Udemy, so make sure you grab these courses while you have the chance. For my courses, please use the coupons below (included in the links), or if you want, enter the coupon code: JULY2018. For prerequisite courses (math, stats, Python programming) and all other courses, follow the links at the bottom. Since ALL courses on Udemy on sale, for any course not listed here, just click the general (site-wide) link, and search for courses from that page. BY THE WAY: Did you see my latest announcement about the massive updates I just made to my original Deep Learning with NLP course? It includes a brand new section called “Beginner’s Corner” which is designed to be useful for beginners to ML who aren’t quite ready for the rest of the course yet. If not: read more here. ALSO: Got any requests? What do you want to learn about? (Doesn’t have to be Deep Learning or AI-related) Let me know! https://www.udemy.com/deep-learning-advanced-nlp/?couponCode=JULY2018 https://www.udemy.com/advanced-computer-vision/?couponCode=JULY2018 https://www.udemy.com/deep-learning-gans-and-variational-autoencoders/?couponCode=JULY2018 https://www.udemy.com/deep-reinforcement-learning-in-python/?couponCode=JULY2018 https://www.udemy.com/artificial-intelligence-reinforcement-learning-in-python/?couponCode=JULY2018 ### PREREQUISITE COURSE COUPONS And just as important,$9.99 coupons for some helpful prerequisite courses. You NEED to know this stuff to understand machine learning in-depth:

General (site-wide): http://bit.ly/2oCY14Z
Python http://bit.ly/2pbXxXz
Calc 1 http://bit.ly/2okPUib
Calc 2 http://bit.ly/2oXnhpX
Calc 3 http://bit.ly/2pVU0gQ
Linalg 1 http://bit.ly/2oBBir1
Linalg 2 http://bit.ly/2q5SGEE
Probability (option 1) http://bit.ly/2prFQ7o
Probability (option 2) http://bit.ly/2p8kcC0
Probability (option 3) http://bit.ly/2oXa2pb
Probability (option 4) http://bit.ly/2oXbZSK

### OTHER UDEMY COURSE COUPONS

As you know, I’m the “Lazy Programmer”, not just the “Lazy Data Scientist” – I love all kinds of programming!

iOS courses:
https://lazyprogrammer.me/ios

Android courses:
https://lazyprogrammer.me/android

Ruby on Rails courses:
https://lazyprogrammer.me/ruby-on-rails

Python courses:
https://lazyprogrammer.me/python

Big Data (Spark + Hadoop) courses:

Javascript, ReactJS, AngularJS courses:
https://lazyprogrammer.me/js

### EVEN MORE COOL STUFF

Into Yoga in your spare time? Photography? Painting? There are courses, and I’ve got coupons! If you find a course on Udemy that you’d like a coupon for, just let me know and I’ll hook you up!

# FREE Updates to NLP: Deep Learning for Beginners!

July 15, 2018

You may have noticed that my course Natural Language Processing with Deep Learning in Python has gotten a lot longer recently!

As part of my course revitalization process, I’ve added a significant number of updates to this course.

All students are receiving this announcement because no matter what skill-level you’re currently at, you will get a lot of value from this update.

What has changed?

A brand new section called “Beginner’s Corner”. This section requires only basic machine learning knowledge. Know what a feature vector is, and know how to use the SciKit-Learn API.

You will get a taste of what word2vec and GloVe vectors can do.

You can still get a good understanding of what the course is about even if you’re not (yet!) ready to tackle the rest of the course.

A brand new “Review” section has been added. This section focuses on the bigram model, and several ways to implement it.

1) Just counting. For example, p(heads) = # heads / # total.

2) A single neuron (logistic model). We show how this is equivalent to #1.

3) A neural network model. We show how this actually makes #2 more efficient.

Crucially, this section provides you with all the techniques you need to tackle the next section on word2vec.

The word2vec section has also been completely re-done in order to take advantage of the concepts learned in the Review, making the transition seamless.

Finally, a brand new section on word vectors unifies the word2vec and GloVe sections, giving you a totally new (and in my opinion, better) way of training word2vec.

Additional theory lectures and Tensorflow code have been added to the RNN and Recursive Neural Network sections. Recall: the latter is a neural network structured like a tree.

Yes, Tensorflow’s capabilities have caught up! We can now do everything in Tensorflow that we’d previously done in Theano.

So if you’ve been avoiding these sections because you didn’t know Theano, now you have no excuse. =)

Click HERE to get the course if you don’t have it yet.

Hope you enjoy the updates, happy learning!

# “To all you that are trying to tell people they can become professionals in just a few weeks JUST to sell your product – shame on you!”

May 21, 2018

This is a great video that explains a lot of what I’ve observed from students trying to machine learning, but put more eloquently than I could have said myself. =)

I’m always having to contend against students who have taken a super easy-peasy course, actually learned nothing, but believe they know everything. Then, when they come up against the real content, they believe it’s because the instructor is trying to make the course really “elite” or trying to make them feel “dumb” by including lots of math and/or programming that they can’t understand.

But realize:

• I (or any other instructor) did not invent these subjects
• If the subject requires math, that’s because it does
• If the subject requires programming, that’s because it does

We didn’t put math in there just to torture you. If you’re taking a math course, it’s probably going to have math in it.

A student gets frustrated because they don’t understand the real subject, but really they should be frustrated with the instructor who gave them the empty course that provided them with no skill and too much confidence.

This video is about software developers, but if you view it from the perspective of machine learning, everything still applies. Watch the video!