Lazy Programmer

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


Featured partners

Udemy St. Patrick’s Day Sale 🍀

March 13, 2019

Do beer and AI go together?

For the next week, all my Deep Learning and AI courses are available for just $11.99! ($1.00 less than the current sale, woohoo!)

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

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/support-vector-machines-in-python/?couponCode=MAR2019

https://www.udemy.com/recommender-systems/?couponCode=MAR2019
https://www.udemy.com/deep-learning-advanced-nlp/?couponCode=MAR2019


https://www.udemy.com/advanced-computer-vision/?couponCode=MAR2019


https://www.udemy.com/deep-learning-gans-and-variational-autoencoders/?couponCode=MAR2019


https://www.udemy.com/deep-reinforcement-learning-in-python/?couponCode=MAR2019


https://www.udemy.com/artificial-intelligence-reinforcement-learning-in-python/?couponCode=MAR2019


https://www.udemy.com/data-science-linear-regression-in-python/?couponCode=MAR2019


https://www.udemy.com/data-science-logistic-regression-in-python/?couponCode=MAR2019


https://www.udemy.com/data-science-deep-learning-in-python/?couponCode=MAR2019


https://www.udemy.com/data-science-natural-language-processing-in-python/?couponCode=MAR2019


https://www.udemy.com/data-science-deep-learning-in-theano-tensorflow/?couponCode=MAR2019


https://www.udemy.com/sql-for-marketers-data-analytics-data-science-big-data/?couponCode=MAR2019


https://www.udemy.com/deep-learning-convolutional-neural-networks-theano-tensorflow/?couponCode=MAR2019


https://www.udemy.com/cluster-analysis-unsupervised-machine-learning-python/?couponCode=MAR2019


https://www.udemy.com/unsupervised-deep-learning-in-python/?couponCode=MAR2019


https://www.udemy.com/unsupervised-machine-learning-hidden-markov-models-in-python/?couponCode=MAR2019


https://www.udemy.com/deep-learning-recurrent-neural-networks-in-python/?couponCode=MAR2019


https://www.udemy.com/natural-language-processing-with-deep-learning-in-python/?couponCode=MAR2019


https://www.udemy.com/data-science-supervised-machine-learning-in-python/?couponCode=MAR2019


https://www.udemy.com/bayesian-machine-learning-in-python-ab-testing/?couponCode=MAR2019


https://www.udemy.com/machine-learning-in-python-random-forest-adaboost/?couponCode=MAR2019

 

PREREQUISITE COURSE COUPONS

And just as important, $11.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:
https://lazyprogrammer.me/big-data-hadoop-spark-sql

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!

Go to comments


[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!

[if you don’t want to read my little spiel just click here to get your VIP coupon: https://deeplearningcourses.com/c/support-vector-machines-in-python]

[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
  • Projected Gradient Descent
  • 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.

Get the course now
Go to comments


How to Meet Your New Years Resolutions in 2019 (Udemy Coupons $9.99)

January 1, 2019

Deep Learning and AI Courses for just $9.99

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


https://www.udemy.com/advanced-computer-vision/?couponCode=JAN2019


https://www.udemy.com/deep-learning-gans-and-variational-autoencoders/?couponCode=JAN2019


https://www.udemy.com/deep-reinforcement-learning-in-python/?couponCode=JAN2019


https://www.udemy.com/artificial-intelligence-reinforcement-learning-in-python/?couponCode=JAN2019


https://www.udemy.com/data-science-linear-regression-in-python/?couponCode=JAN2019


https://www.udemy.com/data-science-logistic-regression-in-python/?couponCode=JAN2019


https://www.udemy.com/data-science-deep-learning-in-python/?couponCode=JAN2019


https://www.udemy.com/data-science-natural-language-processing-in-python/?couponCode=JAN2019


https://www.udemy.com/data-science-deep-learning-in-theano-tensorflow/?couponCode=JAN2019


https://www.udemy.com/sql-for-marketers-data-analytics-data-science-big-data/?couponCode=JAN2019


https://www.udemy.com/deep-learning-convolutional-neural-networks-theano-tensorflow/?couponCode=JAN2019


https://www.udemy.com/cluster-analysis-unsupervised-machine-learning-python/?couponCode=JAN2019


https://www.udemy.com/unsupervised-deep-learning-in-python/?couponCode=JAN2019


https://www.udemy.com/unsupervised-machine-learning-hidden-markov-models-in-python/?couponCode=JAN2019


https://www.udemy.com/deep-learning-recurrent-neural-networks-in-python/?couponCode=JAN2019


https://www.udemy.com/natural-language-processing-with-deep-learning-in-python/?couponCode=JAN2019


https://www.udemy.com/data-science-supervised-machine-learning-in-python/?couponCode=JAN2019


https://www.udemy.com/bayesian-machine-learning-in-python-ab-testing/?couponCode=JAN2019


https://www.udemy.com/machine-learning-in-python-random-forest-adaboost/?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:
https://lazyprogrammer.me/big-data-hadoop-spark-sql

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!

Go to comments


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


https://www.udemy.com/deep-learning-advanced-nlp/?couponCode=DEC2018


https://www.udemy.com/advanced-computer-vision/?couponCode=DEC2018


https://www.udemy.com/deep-learning-gans-and-variational-autoencoders/?couponCode=DEC2018


https://www.udemy.com/deep-reinforcement-learning-in-python/?couponCode=DEC2018


https://www.udemy.com/artificial-intelligence-reinforcement-learning-in-python/?couponCode=DEC2018


https://www.udemy.com/data-science-linear-regression-in-python/?couponCode=DEC2018


https://www.udemy.com/data-science-logistic-regression-in-python/?couponCode=DEC2018


https://www.udemy.com/data-science-deep-learning-in-python/?couponCode=DEC2018


https://www.udemy.com/data-science-natural-language-processing-in-python/?couponCode=DEC2018


https://www.udemy.com/data-science-deep-learning-in-theano-tensorflow/?couponCode=DEC2018


https://www.udemy.com/sql-for-marketers-data-analytics-data-science-big-data/?couponCode=DEC2018


https://www.udemy.com/deep-learning-convolutional-neural-networks-theano-tensorflow/?couponCode=DEC2018


https://www.udemy.com/cluster-analysis-unsupervised-machine-learning-python/?couponCode=DEC2018


https://www.udemy.com/unsupervised-deep-learning-in-python/?couponCode=DEC2018


https://www.udemy.com/unsupervised-machine-learning-hidden-markov-models-in-python/?couponCode=DEC2018


https://www.udemy.com/deep-learning-recurrent-neural-networks-in-python/?couponCode=DEC2018


https://www.udemy.com/natural-language-processing-with-deep-learning-in-python/?couponCode=DEC2018


https://www.udemy.com/data-science-supervised-machine-learning-in-python/?couponCode=DEC2018


https://www.udemy.com/bayesian-machine-learning-in-python-ab-testing/?couponCode=DEC2018


https://www.udemy.com/machine-learning-in-python-random-forest-adaboost/?couponCode=DEC2018

 

PREREQUISITE COURSE COUPONS

And just as important, $11.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:
https://lazyprogrammer.me/big-data-hadoop-spark-sql

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!

Go to comments


Neural Ordinary Differential Equations

December 15, 2018

Very interesting paper that got the Best Paper award at NIPS 2018.

“Neural Ordinary Differential Equations” by Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David Duvenaud.

Comes out of Geoffrey Hinton’s Vector Institute in Toronto, Canada (although he is not an author on the paper).

For those of you who have ever programmed simulations of systems of differential equations, the motivation behind this should be quite intuitive.

Recall that a derivative is the same thing as the slope of a tangent line, and can be approximated by the usual “rise over run” formula for small time steps \( \Delta t \).

$$ \frac{dh}{dt} \approx \frac{h(t + \Delta t) – h(t)}{\Delta t}$$

Here’s a picture of that if you forgot what it looks like:

glIra

Normally, the derivative is known to be some function \( \frac{dh}{dt} = f(h, t) \).

Your job in writing a simulation is to find out how \( h(t) \) evolves over time.

Here’s a picture of how that works (using different symbols):

EulerMethodGraph2

Since our job is to find the next value of \( h(t) \), we can rearrange the above to get:

$$ h(t + \Delta t) = h(t) + f(h(t), t) \Delta t $$

Typically the time step is just \( 1 \), so we can rewrite the above as:

$$ h_{t+1} = h_t + f(h_t, t) $$

Researchers noticed that this looks a lot like the residual network layer that is often used in deep learning!

In a residual network layer, \( h_t \) represents the input value, \( h_{t+1} \) represents the output value, and \( f(h_t, t) \) represents the residual.

Here’s a picture of that (using different symbols):

1_pUyst_ciesOz_LUg0HocYg

 

At this point, the question to ask is, if a residual network layer is just a difference equation that approximates a differential equation, can there be a neural network layer that is an actual differential equation?

How would backpropagation be done?

This paper goes over all that and more.

Read the paper here! https://arxiv.org/abs/1806.07366

Go to comments