Machine Learning Monthly 💻🤖 February 2020
Tags: machinelearning, productivity, news, datascience
Published: 2020-03-23 22:13:15

**The newsletter below is sent to 1,000+ machine learning engineers and data scientists at the beginning of each month to give them the latest industry news, trends, free resources, etc. You can join them and be first to get the March 2020 issue by subscribing [here](https://zerotomastery.io/blog/machine-learning-monthly-february-2020?utm_source=devto&utm_medium=MLM).**

Hey everyone! Daniel here, I'm 50% of the instructors behind the [Complete Machine Learning and Data Science: Zero to Mastery course](https://links.zerotomastery.io/mlds_academy) (we've nearly hit 10,000 students enrolled in the course!). I also write regularly about machine learning and on [my own blog](https://www.mrdbourke.com) as well as videos on the topic [on YouTube](https://www.youtube.com/channel/UCr8O8l5cCX85Oem1d18EezQ).

Welcome to the 2nd edition of Machine Learning Monthly (you can read the January issue [here](https://zerotomastery.io/blog/?tag=MLM&utm_source=devto&utm_medium=MLM)). If there is enough interest, I will keep doing these every month so please share it with your friends!

Since there's a lot going on, the utmost care has been taken to keep things to the point.

### If it’s your first time here… (otherwise, skip this part)

Being a Machine Learning Engineer is a fantastic career option and Machine Learning is now one of the fastest-growing job markets (including Data Science). Job opportunities are plentiful, you can work around the world, and you get to solve hard problems. However, it’s hard staying up to date with the ever-evolving ecosystem. 

This is where this newsletter comes in. Every month, it’ll contain some of my favourite things from the industry, keeping you up to date and helping you stay sharp without wasting your time.

__Reminder: If you want to receive the next issue of Machine Learning Monthly before anyone else, subscribe here: [https://zerotomastery.io/blog/machine-learning-monthly-february-2020](https://zerotomastery.io/blog/machine-learning-monthly-february-2020?utm_source=devto&utm_medium=MLM)__

### What you missed in February as a Machine Learning Engineer…


*****

## 1. [Teach yourself machine learning in 10-years by Peter Norvig](http://norvig.com/21-days.html)

The actual title of this article is teach yourself *programming* in 10-years but I've replaced programming with machine learning. Machine learning has been around since the dawn of computers.

And with all of the online resources out there (including the [Zero to Mastery Machine Learning course](https://links.zerotomastery.io/mlds_academy)), you can get started with machine learning as quick as you can load a browser.

But that doesn't make it any easier to learn.

Yes, you can get started as soon as you choose to. But remember learning any skill worth learning takes time. Peter Norvig reminds us of this. 

## 2. [AI businesses are different to traditional software businesses, how and why by Andreessen Horowitz](https://a16z.com/2020/02/16/the-new-business-of-ai-and-how-its-different-from-traditional-software/)

I used to want to get a job at a large tech company using artificial intelligence (AI). But then I decided I'd prefer to build my own. Something in the health tech space.

This article by Andressen Horowitz (an investment firm who invests in technology companies) discusses some of the roadblocks you or I might run into if/when we start AI-driven businesses.

The key point being AI businesses differ to normal software businesses because they've got an ever-moving target. Data.

This isn't to say normal software businesses don't use data, of course they do. But AI-driven businesses rely on it.

Some of the questions it raises include:

- How do you train a model? (What data do you start with?)
- How you update the model with new data?
- How do you take care of edge cases? (Examples your model hasn't seen before, the long-tail)
- How do you deploy your model globally?

All of these are tied backed to the business. A model living in a Jupyter Notebook may provide great results on the screen, but until it's deployed and out in the wild, it's not really offering business value.

## 3. [How to do machine learning efficiently by Radek Osmulski](https://link.medium.com/7wsWRRndu4)

Machine learning is all about experimenting. Especially in the beginning, figure out what works and what doesn't work. Pure trial and error.

What will hold you back the most is the time between your experiments.

There's a reason why I sound like a broken record saying "if in doubt, run the code." It's a reminder. You'll spend hours trying to understand something by looking at it and thinking about it but it won't be until you actually see what's going on will you truly understand it.

This wonderful article by Radek Osmulski talks about some of the best ways you can minimise your time between experiments.

In short:

- Never let your code take more than 10-seconds to run.
- Visualize. Visualize. Visualize. Make things as visual as possible.
- Understand at all times what defines success for your project.

## 4. [How Airbnb uses computer vision and machine learning to automatically detect amenities in photos](https://link.medium.com/nsJuaRjdu4)

It's always good to see how machine learning is used in production and the steps it took to get there.

[Amenity Detection and Beyond — New Frontiers of Computer Vision at Airbnb](https://link.medium.com/nsJuaRjdu4) by Airbnb's Data Science team walks through a proof of concept they built for using computer vision to detect amenities in photos.

If you're wondering what an amenity is, think, swimming pool, coffee maker, oven, kitchen table.

When a user uploads photos to Airbnb's platform to list their property, their computer vision algorithm looks at the pictures and adds metadata to the listing which contains the amenities the property has. This not only saves a user time from setting up their listing, but it also allows people to search for specific places with specific items.

The article is not only a great description of machine learning being used in the wild, it was so well written, it inspired me to create my own project to replicate it. I decided to spend 42 days (6 weeks) rebuilding it with 2020-level tools. Today is day 13/42.

The video below gives an overview of the project.

[https://youtu.be/C_lIenSJb3c](https://youtu.be/C_lIenSJb3c)

## 5. [A Recipe for Training Neural Networks by Andrei Karpathy](https://karpathy.github.io/2019/04/25/recipe/)

Andrei Karpathy makes it back for the 2nd month in a row. This time with an article I've tagged as 'must read' for anyone getting into machine learning.

A Recipe for Training Neural Networks goes through a set of steps you can (and should) refer to before you kick off a training run.

My favourite?

Step 1. Become one with the data.

If you plan on training neural networks, I'm assigning you this article as required reading.

## 6. [Sweeps by Weights & Biases](https://www.wandb.com/sweeps) - A tool for scalable hyperparameter tuning

[Weights & biases](https://www.wandb.com) is already an incredible tool for tracking your machine learning experiments. And now they've brought out another to help you improve them even further.

Sweeps is a platform to help you train your model's hyperparameters at scale whilst having a full understanding of what hyperparameter is doing what.

- Does changing the learning rate increase or decrease performance?
- How much does dropout influence your model?
- Should the batch size be lowered or increased?

These are the questions Sweeps helps to answer.

## 7. [Using Deep Learning to Read Receipts Tutorial by Nanonets](https://nanonets.com/blog/receipt-ocr/)

There is nothing I love more than well-explained end-to-end project examples. And this one on OCR (optical character recognition) for receipts by Nanonets is one of the best I've seen.

Imagine you're building an application which uses computer vision to take a photo of a purchase receipt and then automatically documents the data in a structured way you can refer to later.

This article walks you through a pipeline which explains how you might do this with deep learning.

## 8. [Active learning for self-driving cars by Nvidia AI](https://medium.com/nvidia-ai/scalable-active-learning-for-autonomous-driving-a-practical-implementation-and-a-b-test-4d315ed04b5f)

As you know, data is an integral part of machine learning. But once you've trained a model on a particular dataset, how do you know what it doesn't know?

In the case of self-driving cars, what if your model performed nearly perfect on everything except bicycle riders at night time?

First of all, this is a problem. Since it's often the edge cases like a bicycle rider at night which are most important.

Second, how would you figure this out? How would know your model doesn't do too well on bicycle riders at night?

You couldn't really test this in the wild, since it may put people in danger.

Active learning to the rescue. Nvidia set up a system which would use several models to make predictions on the same scenarios and then figure out which scenarios the models disagreed the most on. They then used this knowledge of the most uncertain scenarios to improve their original models, seeing up to a 4x improvement in said scenarios!

Active learning is something I'm watching closely. And this article outlines an example of how it's being done at scale.

## 9. [Radioactive training data](https://ai.facebook.com/blog/using-radioactive-data-to-detect-if-a-data-set-was-used-for-training/) - Radioactively tagging data to know whether or not it has been used to train a model by Facebook AI

I love this post just by the name of it. Does radioactive training data give your model superpowers? Or 3 eyes?

No to 3 eyes, but if knowing what data it's trained on and what data it hasn't is a superpower then yes to that.

The Facebook AI Research (FAIR) team published an article last month detailing a way to 'radioactively tag' data.

In other words, if you're Facebook, and you've got billions of images and loads of machine learning models, how do you know which model was trained on what images?

This is where the radioactive part comes in. Radioactively tagging training data involves changing it ever so slightly so the change is identifiable but the overall structure of the data isn't lost.

In other words, imagine adding a QR code to every image in your training data set. But in a way the QR code didn't alter the image. Mind blown? Mine too. [Check the article out](https://ai.facebook.com/blog/using-radioactive-data-to-detect-if-a-data-set-was-used-for-training/) for more details.

*****

Woah, we've nearly tripled our 500ish word limit. But this month was worth it.

As always, let me know if there's anything particular you liked or anything you think should be included in a future post.

In the meantime, keep learning, keep creating.

See you next month!

*****

__How did you like this post? Let me know if there are any changes or improvements you’d like to see. Please share the post if you enjoyed it and want me to keep writing them! Also, if you haven't already, subscribe [here](https://zerotomastery.io/blog/machine-learning-monthly-february-2020?utm_source=devto&utm_medium=MLM) to be first to receive Machine Learning Monthly next month.__

By the way, I'm also a full-time instructor with Zero To Mastery teaching people Machine Learning in the most efficient way possible. You can learn more about our [online coding academy here](https://zerotomastery.io/academy?utm_source=devto&utm_medium=MLM) and see all of the courses by visiting the [courses page](https://zerotomastery.io/courses?utm_source=devto&utm_medium=MLM)