Clustering algorithms using stochastic analysis and ensemble techniques.
stoch(weights, axis=-1)
Reweights each row along a given axis such that sums along that axis are one.
If weights
is a \(d\)-dimensional array
of the form \(W_{k_1\dots k_d}\) and axis \(j\) is specified, then this returns the array \(T_{k_1\dots k_d}\) given by: