Calculate an initial value for beta.
The value is calculated from the average distance between the nearest neighbours in Y, the centres of the constrained Gaussian mixture generated in the target space from latent sample.
beta = gtm_bi(Y)
Y
- a matrix containing the positions of the centres of the Gaussian mixture induced in target
space from the latent variable samples.
beta
- an initial value for the inverse variance of the Gaussian mixture