2

This is more of a technical question rather than a practical one.

I've exported a decision tree made with python/scikit learn and would like to know what the "value" field of each leaf corresponds to.

decision tree

nbro
  • 42,615
  • 12
  • 119
  • 217

1 Answers1

4

Decision tree nodes are split bases on the number of data samples, these numbers indicate the number of data samples they are fit to. In your case samples = 256. It is further split into two nodes of 154 and 102.