multidim.covertree.CoverLevel.find_label_weights

CoverLevel.find_label_weights(adult)[source]

Compute the weights of labelled children of an adult. Store it in self.weights[adult].

Parameters:
adult : int

index of adult to compute.

Returns:
self.weights[adult]