-
Notifications
You must be signed in to change notification settings - Fork 442
Open
Labels
Description
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 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?
Reactions are currently unavailable