Coursera Project Network
Classification Trees in Python, From Start To Finish
Coursera Project Network

Classification Trees in Python, From Start To Finish

Josh Starmer

Instructor: Josh Starmer

9,799 already enrolled

Included with Coursera Plus

Guided Project
Learn, practice, and apply job-ready skills with expert guidance
4.6

(229 reviews)

Intermediate level

Recommended experience

2 hours
Learn at your own pace
Hands-on learning
Guided Project
Learn, practice, and apply job-ready skills with expert guidance
4.6

(229 reviews)

Intermediate level

Recommended experience

2 hours
Learn at your own pace
Hands-on learning

What you'll learn

  • Create Classification Trees in Python

  • Apply Cost Complexity Pruning in Python

  • Apply Cross Validation in Python

  • Create Confusion Matrices in Python

Details to know

Shareable certificate

Add to your LinkedIn profile

Taught in English
No downloads or installation required

Only available on desktop

See how employees at top companies are mastering in-demand skills

Placeholder

Learn, practice, and apply job-ready skills in less than 2 hours

  • Receive training from industry experts
  • Gain hands-on experience solving real-world job tasks
  • Build confidence using the latest tools and technologies
Placeholder

About this Guided Project

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Task 1: Import the modules that will do all the work

  2. Task 2: Import the data

  3. Task 3: Missing Data Part 1: Identifying Missing Data

  4. Task 4: Missing Data Part 2: Dealing With Missing Data

  5. Task 5: Format Data Part 1: Split the Data into Dependent and Independent Variables

  6. Task 6: Format the Data Part 2: One-Hot Encoding

  7. Task 7: Build A Preliminary Classification Tree

  8. Task 8: Cost Complexity Pruning Part 1: Visualize alpha

  9. Task 9: Cost Complexity Pruning Part 2: Cross Validation For Finding the Best Alpha

  10. Task 10: Building, Evaluating, Drawing, and Interpreting the Final Classification Tree

Recommended experience

Familiarity with Python and the theory behind Decision Trees, Cost Complexity Pruning, Cross Validation and Confusion Matrices.

3 project images

Instructor

Instructor ratings
4.6 (14 ratings)
Josh Starmer
Coursera Project Network
2 Courses12,859 learners

Offered by

How you'll learn

  • Skill-based, hands-on learning

    Practice new skills by completing job-related tasks.

  • Expert guidance

    Follow along with pre-recorded videos from experts using a unique side-by-side interface.

  • No downloads or installation required

    Access the tools and resources you need in a pre-configured cloud workspace.

  • Available only on desktop

    This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

Showing 3 of 229

4.6

229 reviews

  • 5 stars

    69.86%

  • 4 stars

    21.39%

  • 3 stars

    5.67%

  • 2 stars

    1.31%

  • 1 star

    1.74%

SS
5

Reviewed on Jun 17, 2020

YA
5

Reviewed on Sep 13, 2020

KD
5

Reviewed on Aug 24, 2020

New to Data Analysis? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions