NNSOM.som_gpu.SOMGpu.init_w

SOMGpu.init_w(x, norm_func=None)[source]

Initializes the weights of the SOM using principal components analysis (PCA) on the input data x.

Parameters:

x (np.ndarray) – The input data used for weight initialization.