You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to train a SOM using a custom distance function (specifically, Dynamic Time Warping from the tslearn package). However, I’ve noticed that within the self.quantization method, BMUs are computed using self._distance_from_weights, which uses Euclidean distance. Wouldn’t it be more consistent to compute BMUs using self._activation_distance instead since that is the distance metric used during training?
The text was updated successfully, but these errors were encountered:
Hi, thanks for this great SOM implementation.
I need to train a SOM using a custom distance function (specifically, Dynamic Time Warping from the tslearn package). However, I’ve noticed that within the
self.quantization
method, BMUs are computed usingself._distance_from_weights
, which uses Euclidean distance. Wouldn’t it be more consistent to compute BMUs usingself._activation_distance
instead since that is the distance metric used during training?The text was updated successfully, but these errors were encountered: