Hello World of Applied Machine Learning
It is easy to feel overwhelmed with the large numbers of machine learning algorithms. There are so many to choose from, it is hard to know where to start and what to try.
The choice can be paralyzing.
You need to get over this fear and start.
There is no magic book or course that is going to tell you what algorithm to use and when. In fact, in practice you cannot know this before hand. You have to discover it empirically through trial and error. That means making some mistakes.
In this post you will discover a simple trick that will get you started in applied machine learning.
It will provoke questions in you that will motivate you to dive deeper, it will give you a defense against picking a favorite algorithm or tool and it will accelerate your machine learning journey.
It’s a simple tactic and even experienced practitioners ignore or forget it because of its simplicity.
Familiarize Yourself With Machine Learning Algorithms
You need to build up confidence with a variety of different algorithms.
Much of your skill in addressing machine learning problems will be in the tools that you have available to you and your ability to use them confidently.
The first step on this road is to open a tool or a library and start applying algorithms. Like learning programming, you need to start with hello world. The hello world in applied machine learning is loading a dataset and running an algorithm.
Just running algorithms is how you build that confidence.
You should run lots of algorithms. Run all the algorithms provided by a given tool or library. Then try another library or tool.
You do not want to select favorites. There is no on best machine learning algorithm, and if you use one algorithm or one class of algorithms on all problems, you will be severely limiting the results that you can achieve.
Run Your First Algorithm
You would be surprised at the number of people that are interested in applied machine learning but have not run an algorithm on a problem.
You will also be surprised how trivial it is after you have done it and how much more you have ahead of you.
The procedure is simple:
- Select a tool. If you are not a programmer, I recommend Weka because it provides a graphical user interface. If you are a programmer, I recommend scikit-learn in Python or R.
- Select a standard dataset. I recommend a standard dataset from the UCI machine learning repository, the iris classification problem is a classic hello world classification problem.
- Find or devise a recipe. Determine how you are going to use the tool to load the dataset, spit it into train and test datasets and run one algorithm to make predictions on that dataset. If you are using Weka, you can follow this recipe. I also have recipes in R and scikit-learn that you can use.
- Run the recipe.
- Review the results. Consider the accuracy you got, what does that mean. Was there information about the algorithm, consider what might that mean.
- Repeat. Try a different algorithm, a different algorithm configuration or a different dataset. Run lots of algorithms.
It is easy. So easy in fact that you should do this procedure and get comfortable with working simple problems in all the great machine learning tools and libraries out there.
Another problem in addition to selecting a favorite algorithms is selecting a favorite tool or library.
To truly be effective, you need to work problems and use any and all tools that give you better results. Learn how to use each tool well, but be prepared to jump tools a the drop of a hat.
Building your Motivation with Curiosity
You do not need to understand the problem the tool or the algorithms. Not yet. You are building confidence and familiarity with the tool and what it provides.
You should start having questions like:
- How does this algorithm work?
- Why is this algorithm giving better results than that algorithm?
- What do all of these algorithm parameters mean?
There is a lot to learn in applied machine learning, that is why its an exciting and thrilling field.
Hopefully this exercise will motivate you to dive just a little bit deeper and start looking into a given algorithm or algorithm parameters to answer some of those questions.
More than overcoming the paralysis of choice and building confidence and familiarity with the tool, hopefully this exercise peaks your curiosity. That need to know more can take you a long way and help you push through material that you previously thought was impenetrable.
The beauty of knowing you can now run a given algorithm on a demonstration dataset any time you want, is that you can flip from books, blogs and other materials back to your tool and try out what you read and learn. This ability to put ideas into action will expand your motivation and accelerate your learning.
Going Further
There are a lot of tools out there, almost as many as there are machine learning algorithms.
I like to try most of them, just to see what they offer and what they can do.
A trick that you can use is to create your own little recipes or execution plans in a text file, word document or program code. This allows you to get started fast on a problem or algorithm if you come back to the tool at later date.
Action Steps
In this post you discovered a simple trick that you can use to overcome algorithm overwhelm. The trick is to jump in and start applying algorithms to small in-memory problems using off-the-shelf tools and libraries.
The beauty of this trick is that it familiarizes yourself with algorithms and tools, but more importantly tickles your curiosity about the algorithm, its behavior and its parameters. This curiosity can motivate you to dive deeper in the pursuit to know more.
This new found familiarity will also give you a foundation to try out and put into action ideas as you encounter them in your machine learning journey, which can accelerate your learning.
Pick a tool and run your first algorithm.
Share your experience. Which tool did you choose, which algorithm did you run, what questions did it provoke?
相關推薦
Hello World of Applied Machine Learning
Tweet Share Share Google Plus It is easy to feel overwhelmed with the large numbers of machine l
李巨集毅機器學習 P15 “Hello world” of deep learning 筆記
我們今天使用Keras來寫一個deep learning model。 tensorflow實際上是一個微分器,它的功能比較強大,但同時也不太好學。因此我們學Keras,相對容易,也有足夠的靈活性。 李教授開了一個玩笑: 下面我們來寫一個最簡單的deep learning mo
機器學習與深度學習系列連載: 第二部分 深度學習(九)Keras- “hello world” of deep learning
Keras Kearas 是深度學習小白程式碼入門的最佳工具之一。 如果想提升、練習程式碼能力,還是建議演算法徒手python實現。 複雜的深度神經網路專案還是推薦TensorFlow或者Pytorch Keras是一個高層神經網路API,Keras由純Pyt
機器學習9:“Hello World” of deep learning
一、框架 1、TensorFlow或者theano比較靈活,可以理解成微分器,你可以用來實現Gradient Decent,但用起來實際上是有難度的; 2、keras其實是TensorFlow或theano的API介面,可以幫助你快速做一個模型,現在TensorFlow預設使用Keras介面
A Gentle Introduction to Applied Machine Learning as a Search Problem (譯文)
A Gentle Introduction to Applied Machine Learning as a Search Problem 原文作者:Jason Brownlee 原文地址:https://machinelearningmastery.com/applied-m
5 App Ideas to Unleash the Power of Mobile Machine Learning
With over 2 billion active Android devices and over 1 billion active iOS users, the mobile market provides the most engaging and profitable market to build
The Ins And Outs Of Adopting Machine Learning At A Corporate Level
The interest in Machine Learning can be understood by merely understanding that there is a rise in volumes and varieties of raw data, as well as the variou
Realizing the Benefits of Automated Machine Learning | Become AI
While everyone is talking about machine learning and artificial intelligence (AI), how are organizations actually using this technology to deri
The Future of Education? | Machine Learning Blog
This post is co-authored by Chun Ming Chin, Technical Program Manager, and Max Kaznady, Senior Data Scientist, of Microsoft, with Luyi Huang, Nicholas
Two elements of winning machine learning companies
While there are still technologies that are in the innovator or early adopter phase of the typical technology adoption life cycle (VR and bitcoin as exampl
Board Of Directors | Machine Learning Automation
Jai is a managing director at Sapphire Ventures who invests in startups he believes are developing ground-breaking products and services to become
Python is the Growing Platform for Applied Machine Learning
Tweet Share Share Google Plus You should pick the right tool for the job. The specific predictiv
Applied Machine Learning Process
Tweet Share Share Google Plus The Systematic Process For Working Through Predictive Modeling Pr
10 Standard Datasets for Practicing Applied Machine Learning
Tweet Share Share Google Plus The key to getting good at applied machine learning is practicing
Benefits of Implementing Machine Learning Algorithms From Scratch
Tweet Share Share Google Plus Machine Learning can be difficult to understand when getting start
Why Applied Machine Learning Is Hard
Tweet Share Share Google Plus How to Handle the Intractability of Applied Machine Learning. Appl
Applied Machine Learning is a Meritocracy
Tweet Share Share Google Plus When making a start in a new field it is common to feel overwhelme
5 Benefits of Competitive Machine Learning
Tweet Share Share Google Plus Jeremy Howard, formally of Kaggle gave a presentation at the Unive
How IoT could unleash the real power of the machine learning
What is so interesting about machine learning? Why is machine learning considered the future? Do you think a cognitive system will ever be able to
機器學習筆記1 - Hello World In Machine Learning
之間 項目 圍棋 gpu 強勁 大量數據 特殊 轉換成 [1] 前言 Alpha Go在16年以4:1的戰績打敗了李世石,17年又以3:0的戰績戰勝了中國圍棋天才柯潔,這真是科技界振奮人心的進步。伴隨著媒體的大量宣傳,此事變成了婦孺皆知的大事件。大家又開始激烈的討論機器人什