MCPcopy Create free account
hub / github.com/capitalk/treelearn / predict

Method predict

treelearn/classifier_ensemble.py:145–156  ·  view source on GitHub ↗

Every classifier in the ensemble votes for a class. If we're doing stacking, then pass the votes as features into the stacking classifier, otherwise return the majority vote.

(self, X, return_probs=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_created_modelMethod · 0.45
_predict_votesMethod · 0.45

Calls 2

_predict_votesMethod · 0.95

Tested by

no test coverage detected