ML Assignment 2
ML Assignment 2
Aim: To implement the Decision Tree model using the scikit learn and test and train using
both ID3 and CART algorithms.
Implementation:
30% testing data and 70% training data
With 20% testing data and 80% training data
With 40% testing data and 60% training data
Conclusion: We have implemented decision tree model using scikit learn, both CART and
ID3 algorithm. By analysing the output for different ratios (30-70,20-80,40-60) of testing and
training data , we can say that both give approximately the same result, hence the decision
model is successfully implemented.