Task #6-Prediction using Decision Tree Algorithm
The above video is a part of the sixth task in the Data Science and Business Analytics Internship at The Sparks Foundation.
To explore decision tree classifier and to visualize the decision tree in different ways to predict the right class for new data with simple but famous dataset-'iris'
Ways to visualize the Decision Tree
1. By printing text representation of the tree with sklearn.tree.export_text method
2. Plotting the tree plot with sklearn.tree.plot_tree method(matplotlib)
3. Plotting the graph with sklearn.tree.export_graphviz method(graphviz)
4. Plotting the tree graph with dtreeviz package(dtreeviz)
PROBLEM STATEMENT- Create the Decision Tree Classifier and visualize it graphically.
Github Repository: https://github.com/jenifer11/Predicti...
Dataset: https://drive.google.com/file/d/11Iq7...