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

Method init_fit

treelearn/viterbi_tree.py:38–59  ·  view source on GitHub ↗

Initialize partitions and leaf models to minimize training error

(self, X,Y)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

fitMethod · 0.80

Calls 3

gen_random_csMethod · 0.95
fitMethod · 0.45
predictMethod · 0.45

Tested by

no test coverage detected