MCPcopy Create free account
hub / github.com/christopherjenness/ML-lib / add_split

Method add_split

ML/treemethods.py:105–121  ·  view source on GitHub ↗

Used by add_layer() to add two children at a leaf in the tree Args: node_number (int): Node in tree which a new split is added to data (np.ndarray): data of shape[n_samples, n_features] Data which node split will be based off of v

(self, node_number, data, values)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

add_layerMethod · 0.95

Calls 1

learn_splitMethod · 0.95

Tested by

no test coverage detected