Lazy Programmer

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

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


Artificial Intelligence SUMMER SALE – All courses $9.99!

July 15, 2018

ALL Courses on Udemy $9.99

July 2018

cat-208

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


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


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

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

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

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

 


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

 


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

 


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

 


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

 


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

 


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

 


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

 


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

 


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

 


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


FREE Updates to NLP: Deep Learning for Beginners!

July 15, 2018

deepnlp

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?

 

UPDATES FOR BEGINNERS:

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.

 

UPDATES FOR INTERMEDIATE STUDENTS:

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.

 

UPDATES FOR EXPERTS:

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!

Go to comments


t-SNE in the wild: Scientists have captured the elusive cell that can regenerate an entire flatworm

June 17, 2018

Link here: https://www.stowers.org/media/news/jun-14-2018

First of all, this is a really cool finding for any of you who are into longevity research.

Secondly, this is a really cool example of a project that incorporates some machine learning, but also some hand-derived rules using domain expertise.

Basically, the researchers took a set of stem cells, then studied the properties of those cells. At each stage, they grouped the cells based on whether or not those cells would be capable of regenerating the flatworm. Finally, they ended up with the relevant cell.

(You might think of that as a decision tree)

At one stage, they use t-SNE to visualize clusters of different types of cells:

planaria-regeneration

Go to comments


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

Go to comments


NEW Deep Learning Course: Advanced NLP and RNNs

May 1, 2018

nlp3

Over the past year, many of you have been asking for a followup on my RNN and Deep NLP courses. I am glad to announce that today, that course is here.

Deep Learning: Advanced NLP and RNNs

I decided to combine both NLP (natural language processing) and RNNs (recurrent neural networks) because these topics are so intertwined it’s almost impossible to talk about one without the other.

In recent years, a few ideas have started to bubble up and have shown themselves to be truly useful, and in this course, I bring those ideas to you.

Let’s start with the applications:

1. I’ve been asked quite a few times about how to do classification when each input can have multiple labels assigned to it. We will do a text classification problem that has data exactly like this.

2. Neural machine translation. One of the most popular applications of Deep NLP. We can’t not do this.

3. Question answering. You can think of this as “reading comprehension”. Can an AI read a story and answer a question about it? Facebook Research made this popular with their bAbI dataset.

4. Speech recognition (see below).

 
As you know I like to take an abstract view of machine learning. We know that all of the techniques for these applications can be used for yet more applications without any change in code because the “data is the same”. For example, a spam detection dataset looks no different than a sentiment analysis dataset.

In the same vein, neural machine translation is no different from simple versions of question answering and chatbots. So you are really learning how to do all of these things at the same time.

We will of course get a chance to review basics such as LSTMs, GRUs, language modeling, word embeddings, and so forth.

What techniques will we cover? These techniques are what have helped RNNs really work well for NLP in the recent past:

1. Bidirectional RNNs

bidirectional
2. Sequence-to-sequence models (seq2seq)

seq2seq
3. Attention

attn
4. Memory networks

memnet

So, if you’ve already heard about these and you wanted to learn about them – I hope you are excited!

 

 

THERE’S MORE:

This course is NOT just about RNNs but CNNs (convolutional neural networks) as well. This is an advanced course – ALL deep learning is fair game.

Early in the course, you’ll see how we can apply CNNs to text.

You will see that we get results on-par with LSTMs and GRUs.

That’s already pretty neat.

But there’s still more.

If you’re reading this, you automatically get access to the VIP version of the course, which contains EVEN MORE material.

For the first time, I’m releasing a course exclusively on https://deeplearningcourses.com

This course will appear on other sites in the future but you will NOT get the VIP version from those sites.

What’s in the VIP bonus?

It’s basically like an entirely new section of the course.

We will be looking at a topic I’ve wanted to cover for a long time: speech recognition.

audio

Unlike the usual type of NLP stuff which focuses on text, speech recognition focuses on audio.

Text is neat and formatted. When you type the word “the” it’s the same as if I type the word “the”.

The same cannot be said for audio. When you say “the” it sounds different from when I say “the”.

Audio is a real-world, physical signal like images are.

In that sense, speech recognition is more like computer vision.

In fact, you’ll see how we can apply CNNs to this task as well.

I love this section of the course because we get to dive into some very cool, never-before-seen material in order to do speech processing – namely time-series techniques such as the Fourier transform.

Screen Shot 2018-05-01 at 1.19.20 AM

You’ll even get a brief glimpse into how the Fourier transform is related to quantum mechanics and Heisenberg’s uncertainty principle!

Enough talk. Get the course here:

Deep Learning: Advanced NLP and RNNs
https://deeplearningcourses.com/c/deep-learning-advanced-nlp

NOTES:

1. As usual, if you purchase the course on deeplearningcourses.com and you’d like access on Udemy as well, I will do that for you once the course is released there.

2. I’ve made a lot of updates to deeplearningcourses.com recently, so hopefully you find them useful! Always happy to consider feature requests.

3. I recently moved deeplearningcourses.com to a shiny new server, so if you have any problems, please let me know. Everything seems to be running smoothly so far!

Go to comments


Deep Learning Spring Sale! Udemy Coupons $10.99

April 11, 2018

ALL Courses on Udemy $10.99

April 2018

Grab these courses before these sales go away

I’m hard at work at my next course, so guess what that means? Everything on sale!

For the next 5 days, ALL courses on Udemy (not just mine) are available for just $10.99!

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

For prerequisite courses (math, stats, Python programming) and all other courses, follow the links at the bottom.

linear

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

log

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

deep1

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

nlp

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

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

sql

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

cnn

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

cluster

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

udeep

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

hmm

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

rnn

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

deepnlp

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

super

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

bayes

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

ensemble

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

rl

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

deeprl

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

gan

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

cvhttps://www.udemy.com/advanced-computer-vision/?couponCode=APR2018

 

PREREQUISITE COURSE COUPONS

And just as important, $10.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:
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


Linear Regression in the Wild – AV1: Next Generation Video Codec

April 10, 2018

A lot of students come up to me and ask about when they’re going to learn the latest and greatest new deep learning algorithm.

Sometimes, it’s easy to forget how applicable even the most basic of tools are.

As you know, I consider Linear Regression to be the best starting point for deep learning and machine learning in general.

And wouldn’t you know, here it is being used in the most advanced, state-of-the-art video codec we have today:

next generation video: Introducing AV1

Check it out!

snowbird2

This new state-of-the-art video codec is based on research done by multiple big companies, such as Google, Cisco, and Mozilla.

As you can see, the final equation is just a line (\( y = mx + b \)).

$$ CfL(\alpha) = \alpha L^{AC} + DC $$

Go to comments


Google Introduces TensorFlow Hub: A Library for Reusable Machine Learning Modules in TensorFlow

April 9, 2018

https://medium.com/tensorflow/introducing-tensorflow-hub-a-library-for-reusable-machine-learning-modules-in-tensorflow-cdee41fa18f9

Go to comments