Hi there,
I am trying to use BMU values a metric to classify my data. Features are seismic attributes.
Your function “distance_from_weights” was my first guess but it´s not exporting BMUS directly. We do have to manipulate it to remove the second BMU.
np.argsort(distance_from_weights(data), axis=1)[:, :2] -----> np.argsort(distance_from_weights(data), axis=1)[:, :1]
Do you mind to build that function?