Lines Matching refs:branching_factor
41 def _split_node(node, threshold, branching_factor): argument
55 branching_factor=branching_factor,
61 branching_factor=branching_factor,
145 def __init__(self, *, threshold, branching_factor, is_leaf, n_features): argument
147 self.branching_factor = branching_factor
154 self.init_centroids_ = np.zeros((branching_factor + 1, n_features))
155 self.init_sq_norm_ = np.zeros((branching_factor + 1))
189 branching_factor = self.branching_factor
219 closest_subcluster.child_, threshold, branching_factor
225 if len(self.subclusters_) > self.branching_factor:
239 elif len(self.subclusters_) < self.branching_factor:
469 branching_factor=50, argument
475 self.branching_factor = branching_factor
527 branching_factor = self.branching_factor
529 if branching_factor <= 1:
539 branching_factor=branching_factor,
547 branching_factor=branching_factor,
566 self.root_, threshold, branching_factor
571 branching_factor=branching_factor,