Navigate Select ESC Close

Decision Trees | Data Science with Marco

2020-06-07 Science & Technology
746
20
1

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Notebook and dataset: https://github.com/marcopeix/datasciencewithmarco 📚 Theory: 0:00 - 5:46 🐍 Code: 5:47 In this video, we cover decision trees. All state-of-the-art algorithms for tabular data use decision trees, so it is a very exciting subject to cover. We learn about the regression and classification tree, as well as more advanced topics such as bootstrap, boosting, and random forest. Check the Github link above to grab the dataset and notebook! Follow me on Medium for more data science content: https://medium.com/@marcopeixeiro

Top Comments (1)

@namanrawat8454 2021-05-15

Hi Marco ! Thanks for another useful video. A few questions. First, how do we obtain trees for random forest models? I tried to use the same code as used in Baseline decision tree but got an error "'RandomForestClassifier' object has no attribute 'tree_'". Second, can you interpret the results a little here? For eg. In the baseline tree the tree seems to start with [X2] is it referring to the second variable on the X axis which would mean BMI is the most important predictor of breast cancer? Interpretation of the variables is extremely crucial for proper understanding.

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot