estimator.nd.SparseTernary.split_probability

estimator.nd.SparseTernary.split_probability#

SparseTernary.split_probability(new_n, new_hw=None)[source]#

Compute probability of splitting in a way that one half having new_n coefficients has new_hw of the weight, and the remaining part the rest. This is naturally the proportion of such splits divided this support size.