Data Scientist Question:

Download Job Interview Questions and Answers PDF

Do you know the steps in making a decision tree?

Data Scientist Interview Question
Data Scientist Interview Question

Answer:

☛ Take the entire data set as input.
☛ Look for a split that maximizes the separation of the classes. A split is any test that divides the data into two sets.
☛ Apply the split to the input data (divide step).
☛ Re-apply steps 1 to 2 to the divided data.
☛ Stop when you meet some stopping criteria.
☛ This step is called pruning. Clean up the tree if you went too far doing splits.

Download Data Scientist Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me why do segmentation CNNs typically have an encoder-decoder style / structure?What is cross-validation?