DECISION TREE-DT

Ex No                                     Build Decision tree

CLICK HERE ==> PROGRAM

Aim

To build decision trees 

Algorithm

Build decision tree

1. Import necessary packages and libraries

2. Load the dataset

3. Load the algorithm decision tree and train the algorithm using the dataset

4. Predict the category of new data

5. Print the graph for the decision tree

No comments:

Post a Comment