Defining a custom distance metric using k-means class of sklearn
As suggested in this answer /a/74232665/4042725,
is it possible to define a custom distance metric in the _transform method of a custom kmeans class inheriting sklearn’s Kmeans class?