211. Decision Trees with Python and Pandas

Time your subway commute

In this course, we'll build and use decision trees, a popular and versatile tool that will serve you well in your applied machine learning work.

If it suits your needs, you can also subscribe to the Complete Course Catalog for just 9 USD per month.

The data science problem we want to solve is predicting transit times on a public transportation system. We will walk through the entire process from end to end:

  1. Define the problem
  2. Gather the data
  3. Clean and prepare the data
  4. Build a decision tree
  5. Train the model
  6. Generate predictions
  7. Wrap the model in some code that makes it easy to use
I hope you enjoy the process of building a complete solution to a data science problem from the ground up.


"Very enjoyable, personable instruction. A lot more detailed, esp building a decision tree from absolute scratch rather than just another use of the library.... " - J. Bater


"Thank you for making this course! I really enjoy the end-to-end aspect of it. As well, I appreciate your advice to build a parsimonious model. I love all the critical tips on building and evaluating decision trees. " - R. Low


"Great content. I am going to recommend this course to all of my friends. " - S. Gairola

Your Instructor


Brandon Rohrer
Brandon Rohrer

I love solving puzzles and building things. Machine learning lets me do both. I got started by studying robotics and human rehabilitation at MIT (MS '99, PhD '02), moved on to machine vision and machine learning at Sandia National Laboratories, then to predictive modeling of agriculture DuPont Pioneer, and cloud data science at Microsoft. At Facebook I worked to get internet and electrical power to those in the world who don't have it, using deep learning and satellite imagery and to do a better job identifying topics reliably in unstructured text. Now at iRobot I work to help robots get better and better at doing their jobs. In my spare time I like to rock climb, write robot learning algorithms, and go on walks with my wife and our dog, Reign of Terror.


Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!