Professional Documents
Culture Documents
'''
# Now, we need to predict the missing target variable in the test data
# target variable - Survived
'''
Create the object of the Decision Tree model
You can also add other parameters and test your code here
Some parameters are : max_depth and max_features
Documentation of sklearn DecisionTreeClassifier:
https://scikit-learn.org/stable/modules/generated/
sklearn.tree.DecisionTreeClassifier.html
'''
model = DecisionTreeClassifier()