Building your first Machine Learning Model (Decision Tree)

preview_player
Показать описание
This is the 9th session of the bootcamp, the session is designed for beginners & absolute beginners. Even if you do not have have any prior knowledge of the topic, you should be able to follow it smoothly.

In the session, the speaker explains how to build your first machine learning model - decision tree. The session is a hands-on session where examples & illustrations on a dataset are demonstrated.

The session speaker is Chanukya Patnaik. Chanukya is an Entrepreneur and a Data Science enthusiast. He pursued his Masters in Statistics and currently associated with Complidata, an A.I based startup in Belgium. He is a Co-founder of DPhi community.

We encourage you to ask all your doubts. We'll be responding to each & every query :)
Рекомендации по теме
Комментарии
Автор

Need help - i am getting following error when i try to visualize the tree -

from sklearn.tree import export_graphviz
import graphviz


dot_data= export_graphviz(model, out_file=None,
feature_names=X_test.columns,
class_names=['0', '1'],
filled=True, rounded=True,
special_characters=True)


ExecutableNotFound: failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH

rrajiv
Автор

finding similar issues in -
print('% of children who survived', < 18]))
print('% of adults who survived', > 18]))

total is not 100%

rrajiv
Автор

you have not mentioned survived = 1, whenever you are finding % of like male survived or female survived, and if you are not using survived =1, it means you are finding the % from whole survived column, which also includes who did not survived.

shanukumar
visit shbcf.ru