How not to learn programing language like Python and R for machine learning the wrong way

Here is what you should NOT do when you start studying machine learning in Python.

  1. Get really good at Python programming and Python syntax.
  2. Deeply study the underlying theory and parameters for machine learning algorithms
  3. Avoid or lightly touch on all of the other tasks needed to complete a real project.

I think that this approach can work for some people, but it is a really slow and a roundabout way of getting to your goal. It teaches you that you need to spend all your time learning how to use individual machine learning algorithms. It also does not teach you the process of building predictive machine learning models in Python that you can actually use to make predictions.

Sadly, this is the approach used to teach machine learning that I see in almost all books and online courses on the topic.

Lessons: Learn how the sub-tasks of a machine learning project map onto Python and the best practice way of working through each task.

Projects: Tie together all of the knowledge from the lessons by working through a case study predictive modeling problems.

Recipes: Apply machine learning with a catalog of standalone recipes in Python that you

can copy-and-paste as a starting point for new projects.

1.2.1 Lessons

You need to know how to complete the specific subtasks of a machine learning project using the Python ecosystem. Once you know how to complete a discrete task using the platform and get a result reliably, you can do it again and again on the project after project. Let’s start with an overview of the common tasks in a machine learning project. A predictive modeling machine learning project can be broken down into 6 top-level tasks:

  1.  Investigate and characterize the problem in order to better understand the goals of the project.
  2. Analyze Data: Use descriptive statistics and visualization to better understand the data you have available.
  3. Prepare Data: Use data transforms in order to better expose the structure of the prediction problem to modeling algorithms.
  4. Evaluate Algorithms: Design a test harness to evaluate a number of standard algorithms on the data and select the top few to investigate further.
  5. Improve Results: Use algorithm tuning and ensemble methods to get the most out of well-performing algorithms on your data.
  6. Present Results: Finalize the model, make predictions and present results.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.