Top Python Libraries

Top Python Libraries

Decision Tree (Part 3): Titanic Passenger Survival Prediction(Practical Data Analysis 13)

Learn how to build a decision tree classifier with sklearn to predict Titanic passenger survival. Explore data cleaning, feature selection, and K-fold validation.

Meng Li's avatar
Meng Li
Dec 17, 2024
∙ Paid
1
Share

Welcome to the "Practical Data Analysis" Series

Table of Contents

Table of Contents

Meng Li
·
July 12, 2024
Read full story

In the previous two articles, I introduced the decision tree algorithm. Decision tree algorithms are commonly used in data mining because they represent decision-making models in a way that is very intuitive, similar to how decisions are made in the human brain.

Decision Tree (Part 1): Should You Play Basketball? Let the Decision Tree Tell You!(Practical Data Analysis 11)

Decision Tree (Part 1): Should You Play Basketball? Let the Decision Tree Tell You!(Practical Data Analysis 11)

Meng Li
·
December 15, 2024
Read full story
Decision Trees (Part 2): CART – One is a Regression Tree, the Other is a Classification Tree(Practical Data Analysis 12)

Decision Trees (Part 2): CART – One is a Regression Tree, the Other is a Classification Tree(Practical Data Analysis 12)

Meng Li
·
December 16, 2024
Read full story

Many data mining algorithms have been developed based on decision trees, such as Random Forest. Today, I will guide you through a practical project using decision trees.

Decision tree classification has a wide range of applications in various industries. For example, in the financial sector, decision trees can be used for loan risk assessment; in the medical field, they can generate auxiliary diagnoses; in e-commerce, decision trees can be used for sales forecasting, and so on.

After understanding the principles of decision trees, today we will use the sklearn tool to solve a practical problem: predicting the survival of Titanic passengers.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Meng Li
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture