Lazy Programmer

Your source for the latest in deep learning, big data, data science, and artificial intelligence. Sign up now

New Years Udemy Coupons! All Udemy Courses only $10

January 1, 2017

Act fast! These $10 Udemy Coupons expire in 10 days.

Ensemble Machine Learning: Random Forest and AdaBoost

Deep Learning Prerequisites: Linear Regression in Python

Deep Learning Prerequisites: Logistic Regression in Python

Deep Learning in Python

Practical Deep Learning in Theano and TensorFlow

Deep Learning: Convolutional Neural Networks in Python

Unsupervised Deep Learning in Python

Deep Learning: Recurrent Neural Networks in Python

Advanced Natural Language Processing: Deep Learning in Python

Easy Natural Language Processing in Python

Cluster Analysis and Unsupervised Machine Learning in Python

Unsupervised Machine Learning: Hidden Markov Models in Python

Data Science: Supervised Machine Learning in Python

Bayesian Machine Learning in Python: A/B Testing

SQL for Newbs and Marketers

How to get ANY course on Udemy for $10 (please use my coupons above for my courses):

Click here for a link to all courses on the site:

Click here for a great calculus prerequisite course:

Click here for a great Python prerequisite course:

Click here for a great linear algebra 1 prerequisite course:

Click here for a great linear algebra 2 prerequisite course:

Go to comments

New course! Ensemble Machine Learning in Python: Random Forest and AdaBoost

December 25, 2016


[Skip to the bottom if you just want the coupon]

This course is all about ensemble methods.

We’ve already learned some classic machine learning models like k-nearest neighbor and decision tree. We’ve studied their limitations and drawbacks.

But what if we could combine these models to eliminate those limitations and produce a much more powerful classifier or regressor?

In this course you’ll study ways to combine models like decision trees and logistic regression to build models that can reach much higher accuracies than the base models they are made of.

In particular, we will study the Random Forest and AdaBoost algorithms in detail.

To motivate our discussion, we will learn about an important topic in statistical learning, the bias-variance trade-off. We will then study the bootstrap technique and bagging as methods for reducing both bias and variance simultaneously.

We’ll do plenty of experiments and use these algorithms on real datasets so you can see first-hand how powerful they are.

Since deep learning is so popular these days, we will study some interesting commonalities between random forests, AdaBoost, and deep learning neural networks.

Go to comments

New course! Bayesian Machine Learning in Python: A/B Testing

November 17, 2016


[If you already know you want to sign up for my Bayesian machine learning course, just scroll to the bottom to get your $10 coupon!]

Boy, do I have some exciting news today!

You guys have already been keeping up with my deep learning series.

Hopefully, you’ve noticed that I’ve been releasing non-deep learning machine learning courses as well, in parallel (and they often tie into the deep learning series quite nicely).

Well today, I am announcing the start of a BRAND NEW series on Bayesian machine learning.

Bayesian methods require an entirely new way of thinking – a paradigm shift.

But don’t worry, it’s not just all theory.

In fact, the first course I’m releasing in the series is VERY practical – it’s on A/B testing.

Every online advertiser, e-commerce store, marketing team, etc etc etc. does A/B testing.

But did you know that traditional A/B testing is both horribly confusing and inefficient?

Did you know that there are cool, new adaptive methods inspired by reinforcement learning that improve on those old crusty tests?

(Those old methods, and the way they are traditionally taught, are probably the reason you cringe when you hear the word “statistics”)

Well, Bayesian methods not only represent a state-of-the-art solution to many A/B testing challenges, they are also surprisingly theoretically simpler!

You’ll end the course by doing your own simulation – comparing and contrasting the various adaptive A/B testing algorithms (including the final Bayesian method).

This is VERY practical stuff and any digital media, newsfeed, or advertising startup will be EXTREMELY IMPRESSED if you know this stuff.

This WILL advance your career, and any company would be lucky to have someone that knows this stuff on their team.

Awesome coincidence #1: As I mentioned above, a lot of these techniques cross-over with reinforcement learning, so if you are itching for a preview of my upcoming deep reinforcement learning course, this will be very interesting for you.

Awesome coincidence #2: Bayesian learning also crosses over with deep learning, one example being the variational autoencoder, which I may incorporate into a more advanced deep learning course in the future. They heavily rely on concepts from both Bayesian learning AND deep learning, and are very powerful state-of-the-art algorithms.

Due to all the black Friday madness going on, I am going to do a ONE-TIME ONLY $10 special for this course. With my coupons, the price will remain at $10, even if Udemy’s site-wide sale price goes up (which it will).

See you in class!

As promised, here is the coupon:

UPDATE: The Black Friday sale is over, but the early bird coupon is still up for grabs:

LAST THING: Udemy is currently having an awesome Black Friday sale. $10 for ANY course starting Nov 15, but the price goes up by $1 every 2 days, so you need to ACT FAST.

I was going to tell you earlier but I was hard at work on my course. =)

Just click this link to get ANY course on Udemy for $10 (+$1 every 2 days):

#bayesian #data science #machine learning #statistics

Go to comments

Udemy Blowout! ANY course for $10 (not just mine)

October 27, 2016

Udemy brings the good news to me, and I bring it to you.

From Oct 26, 2016 at 11:59PM until November 1 at at 6:00AM (PST), all courses on Udemy will be only $10 if you click the link below:


Go to comments

How to setup a custom domain with SSL and with CloudFlare

October 27, 2016

This short tutorial will show you how to setup a custom domain with SSL and with CloudFlare.

To start, you of course must own the domain, let’s call it

Suppose you want your Medium blog to have the address, to differentiate it between your main site.

If you have your DNS configured to point to CloudFlare (highly recommended so traffic doesn’t always hit your server directly), then it’s a little trickier than’s default instructions, which are posted here:

As stated in the article, the first step is to fill out a form, and someone from the support team will get back to you with configuration details.

When you get a response, login to your CloudFlare account and click the DNS tab:


There are 2 types of records you have to add, CNAME and A Records.

We will start with CNAME.

You will get a name-value pair that looks like:




The email will tell you that you can enter the name as <token> OR just <token>.blog. I have found the latter to work.

You will enter the CNAME record as follows:


Finally, you will receive a list of A Records to add. These should be added under the “Value” column. The “Name” column should just be “blog”.


And that’s it! Easy peasy.

Go to comments