chaed
chaed

Reputation: 125

Is there any possibility to display the gini-impurity (or information gain) in rpart.plot?

I would like to see the gini-impurity on each node in rpart.plot, like in python:

https://miro.medium.com/max/2408/1*aBIvTfp5gZ2F0ZSHbd3DSQ.png

vs

enter image description here

Is there any possibility to display the gini-impurity (or information gain) in rpart.plot?

Upvotes: 1

Views: 159

Answers (0)

Related Questions