APPLICATION OF SUPERVISED LEARNING
MACHINE LEARNINGHARD QUESTIONS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
We can visualize the tree using tree.plot ____ tree
|
|
We can classify the tree using tree.plot ____ tree
|
|
We can plot the tree using tree.plot ____ tree
|
|
all of these
|
Detailed explanation-1: -Visualizing Decision Trees You can use Scikit-learn’s export graphviz function for display the tree within a Jupyter notebook. For plotting the tree, you also need to install graphviz and pydotplus.
Detailed explanation-2: -Visualizing the decision trees can be really simple using a combination of scikit-learn and matplotlib . However, there is a nice library called dtreeviz, which brings much more to the table and creates visualizations that are not only prettier but also convey more information about the decision process.
Detailed explanation-3: -Decision node feature versus target value distributions: Decision node feature name and feature split value: Leaf node purity that affects the prediction confidence: Leaf node prediction value: Numbers of samples in decision nodes: Numbers of samples in leaf nodes: More items