Lazy Programmer

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

Tensorflow 2.0 is here! Get the VIP version now

August 14, 2019

Tensorflow 2.0 is here!

I am happy to announce my latest and most massive course yet – Tensorflow 2.0: Deep Learning and Artificial Intelligence.

Guys I am not joking – this really is my most massive course yet – check out the curriculum.

Many of you will be interested in the stock prediction example, because you’ve been tricked by marketers posing as data scientists in the past – I will demonstrate why their results are seriously flawed.

[if you don’t want to read my little spiel just click here to get your VIP coupon: https://www.udemy.com/deep-learning-tensorflow-2/?couponCode=TENSORVIP]

This is technically Deep Learning in Python part 12, but importantly this need not be the 12th deep learning course of mine that you take!

There are quite few important points to cover in this announcement, so let me outline what I will discuss:

A) What’s covered in this course
B) Why there are almost zero prerequisites for this course
C) The VIP content and near-term additions
D) The story behind this course (if you’ve been following my courses for some time you will be interested in this)

What’s covered in this course

As mentioned – this course is massive. It’s going to take you from basic linear models (the neuron) to ANNs, CNNs, and RNNs.

Thanks to the new standardized Tensorflow 2.0 API – we can move quickly.

The theme of this course is breadth, not depth. If you’re looking for heavy theory (e.g. backpropagation), well, I already have courses for those. So there’s no point in repeating that.

We will however go pretty in-depth to ensure that convolution (the main component of CNNs) and recurrent units (the main component of RNNs) are explained intuitively and from multiple perspectives.

These will include explanations and intuitions you have likely not seen before in my courses, so even if you’ve taken my CNN and RNN courses before, you will still want to see this.

There are many applications in this course. Here are a few:

– we will prove Moore’s Law using a neuron
– image classification with modern CNN design and data augmentation
– time series analysis and forecasting with RNNs

Anyone who is interested in stock prediction should check out the RNN section. Most RNN resources out there only look at NLP (natural language processing), including my old RNN course, but very few look at time series and forecasting.

And out of the ones that do, many do forecasting totally wrong!

There is one stock forecasting example I see everywhere, but its methodology is flawed. I will demonstrate why it’s flawed, and why stock prediction is not as simple as you have been led to believe.

There’s also a ton of Tensorflow-specific content, such as:

– Tensorflow serving (i.e. how to build a web service API from a Tensorflow model)
– Distributed training for faster training times (what Tensorflow calls “distribution strategies”)
– Low-level Tensorflow – this has changed completely from Tensorflow 1.x
– How to build your own models using the new Tensorflow 2.0 API
– Tensorflow Lite (how to export your models for mobile devices – iOS and Android) (coming soon)
– Tensorflow.js (how to export your models for the browser) (coming soon)

Why there are almost zero prerequisites for this course

Due to the new standardized Tensorflow 2.0 API, writing neural networks is easier than ever before.

This means that we’ll be able to blast through each section with very little theory (no backpropagation).

All you will need is a basic understanding of Python, Numpy, and Machine Learning, which are all taught in my free Numpy course.

As I always say, it’s free, so you have no excuses!

Tensorflow 2.0 however, does not invalidate or replace my other courses. If you haven’t taken them yet, you should take this course first for breadth, and then take the other courses which focus on individual models (CNNs, RNNs) for depth.

The VIP content and near-term additions

I had so much content in mind for this course, but I wanted to get this into your hands as soon as possible. With Tensorflow 2.0 due to be released any day now, I wanted to give you all a head start.

This field is moving so fast things were changing while I was making the course. Insane!

I’ll be adding more content in the coming weeks, possibly including but not limited to:

– Transfer Learning
– Natural Language Processing
– GANs
– Recommender Systems
– Reinforcement Learning

For this release, only the VIP version will be available for some time. That is why you do not see the usual Udemy discount.

You may be wondering: Which parts of the content are VIP content, and which are not?

This time, I wanted to do something interesting: it’s a surprise!

The VIP content will be added to a special section called the “VIP Section”, and this will be removed once the course becomes “Non-VIP”.

I will make an announcement well before that happens, so you will have the chance to download the VIP content before then, as well as get access to the VIP content permanently from deeplearningcourses.com.

The story behind this course

Originally, this course was going to be an RNN course only (hence why the RNN sections have so much more content – both time series and NLP).

The reason for this was, my original RNN course was tied to Theano and building RNNs from scratch.

In Tensorflow, building RNNs is completely different. This is unlike ANNs and CNNs which are relatively similar.

Thus, I could never reconcile the differences between the Theano approach and the Tensorflow approach in my original RNN course. So, I decided that simply making a new course for RNNs in Tensorflow would be best.

But lo and behold – Tensorflow was evolving so fast that a new version was about to be released – so I thought, it’s probably best to just cover everything in Tensorflow 2.0!

And that is how this current course came to be.

I hope you enjoy this action-packed course.

I’ll see you in class!

buttn

Go to comments


[June 2019] AI / Machine Learning HUGE Summer Sale! $9.99

June 10, 2019

AI / Machine Learning Summer Sale

For the next week, all my Deep Learning and AI courses are available for just $9.99! (In addition to other courses on the site for the next few days)

For those of you who have been around for some time, you know that this sale doesn’t come around very often – just a few times per year. If you’ve been on the fence about getting a course, NOW is the time to do so. Get it now – save it for later.

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

As usual, if you want to know what order to take my courses in, check out the lecture “What order should I take your courses in?” in the Appendix of any of my courses (including the free Numpy course).

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/cutting-edge-artificial-intelligence/?couponCode=JUN2019


https://www.udemy.com/support-vector-machines-in-python/?couponCode=JUN2019


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

 

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/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 Course! Cutting-Edge AI: Deep Reinforcement Learning in Python

May 9, 2019

Quite a few of you have been asking when I’d do another Reinforcement Learning course… well, how about today? 😉

[if you don’t want to read my little spiel just click here to get your VIP coupon: https://deeplearningcourses.com/c/cutting-edge-artificial-intelligence]

This is technically Deep Learning in Python part 11, and my 3rd reinforcement learning course, which is super awesome.

The maturation of deep learning has propelled advances in reinforcement learning, which has been around since the 1980s, although some aspects of it, such as the Bellman equation, have been for much longer.

Recently, these advances have allowed us to showcase just how powerful reinforcement learning can be.

We’ve seen how AlphaZero can master the game of Go using only self-play.

This is just a few years after the original AlphaGo already beat a world champion in Go.

We’ve seen real-world robots learn how to walk, and even recover after being kicked over, despite only being trained using simulation.

Simulation is nice because it doesn’t require actual hardware, which is expensive. If your agent falls down, no real damage is done.

We’ve seen real-world robots learn hand dexterity, which is no small feat.

Walking is one thing, but that involves coarse movements. Hand dexterity is complex – you have many degrees of freedom and many of the forces involved are extremely subtle.

Last but not least – video games.

Even just considering the past few months, we’ve seen some amazing developments. AIs are now beating professional players in CS:GO and Dota 2.

So what makes this course different from the first two?

Now that we know deep learning works with reinforcement learning, the question becomes: how do we improve these algorithms?

This course is going to show you a few different ways: including the powerful A2C (Advantage Actor-Critic) algorithm, the DDPG (Deep Deterministic Policy Gradient) algorithm, and evolution strategies.

Evolution strategies is a new and fresh take on reinforcement learning, that kind of throws away all the old theory in favor of a more “black box” approach, inspired by biological evolution.

What’s also great about this new course is the variety of environments we get to look at.

First, we’re going to look at the classic Atari environments. These are important because they show that reinforcement learning agents can learn based on images alone.

Second, we’re going to look at MuJoCo, which is a physics simulator. This is the first step to building a robot that can navigate the real-world and understand physics – we first have to show it can work with simulated physics.

Finally, we’re going to look at Flappy Bird, everyone’s favorite mobile game just a few years ago.

What do you get if you sign up for the VIP version of this course? A brand new exclusive section covering an entirely new algorithm: TD3! As usual, both theory and code for this powerful state-of-the-art algorithm are provided.

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


[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


Black Friday 2018 – Udemy’s BIGGEST Sale of the YEAR is back!

November 14, 2018

Deep Learning and AI Courses for just $9.99

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


https://www.udemy.com/machine-learning-in-python-random-forest-adaboost/?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:
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 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!

[if you don’t want to read my little spiel just click here to get your coupon: https://www.udemy.com/recommender-systems/?couponCode=LAUNCHDAY]

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.

Google: Search results (why Google is a billion dollar company!)

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

Facebook: News feed


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.

Go to comments


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!

Get the book now
Go to comments