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.
Artificial Intelligence Stack Exchange is a question and answer site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment. It only takes a minute to sign up.
Sign up to join this communityThis 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 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.