How To Become A Machine Learning Expert In One Simple Step

This post looks at perhaps the most important, and often overlooked, step in learning machine learning, an aspect which can make the biggest difference in one's skill set.

By Daniel Thomas, Clue.

The web is full of good explanations of machine learning algorithms. And every second applicant for a data science position has finished the Coursera course on machine learning. While it is important to understand the concepts behind the algorithms, one thing is even more important:

You need to learn how to apply machine learning algorithms

Theory will not help you choose good values for the 16 parameters a standard implementation of a random forest takes. The default values are good to get started, but which parameters should you modify depending on your data?


Choosing the right features, algorithms and parameters is an art. It's actually more like Karate than like math. You won't learn it from a book. You learn it by doing, by getting your hands dirty and applying algorithms to various data sets. By lots of trial and error. By having seen hundreds of successful applications.

Take the people winning Kaggle competitions, for example. One might think they are the researchers leading in the field of machine learning. But in fact, most of them spent a lot of time on Kaggle working with actual data. Check by yourself. Kaggle publishes profiles of top kagglers on their blog.

To get better at applying machine learning techniques, here is the one simple step I recommend. While it is simple as a concept, it will (of course) take perseverance and many hours of work.

Participate in Kaggle competitions.

It is easy to get this one wrong though. The prize money and the leaderboard could easily make you think, it is about winning kaggle competitions. The inglorious truth is, winning is a distraction. Winning a data science competition needs skills that are not relevant to a data science job. You need to build overly complex models and squeeze out the last fractions of a percentage point. Even the winning model of the Netflix prize has not been used in practice.

What makes Kaggle such a great resource for learning is the access to various complex data sets combined with benchmarks on the leaderboard. The leaderboard will give you an outlook on what’s possible and helps you to put your model into perspective. This is such a great opportunity. In many machine learning applications it’s hard to tell if the data allows for better predictions.

Kaggle open competitions

Another great way to learn on Kaggle is to study winning solutions. Don’t get scared by their complexity. You can ignore the stacking of hundreds of models and still learn important tricks from them. Whenever you are stuck on a particular data set you can visit the Kaggle Forum where others share loads of knowledge.

Personally, I try to build simple models that still come close to the leaderboard: not necessarily in rank, but in prediction error. I usually join competitions where the features have a description. This is closer to reality. And in most business applications feature engineering is more important than your machine learning model.

My chances of winning prize money are as small as in a lottery. Still the money somehow motivates me. Prospect theory gives a possible explanation. Our brains are not wired to understand infinitesimal probability. We just see winning as a possibility and dream of the reward. It's great that we can trick us into doing something so useful.

John Foreman wrote a great blog post to put things into perspective. In a job you have to deliver value to the business. This involves many skills other than machine learning. For example, finding simple models that have enough predictive power, telling the signal from the noise and marketing your ideas to the rest of the company.

Just to avoid confusion: Kaggle is the best place to advance you practical machine learning skills. I’m not saying this is all you need to be a good data scientist.

Bio: Daniel Thomas is the first Data Scientist at Clue, the world’s fastest growing female health app. He believes data can empower people and move health research forward.

Original. Reposted with permission.