skhubness.reduction.LocalScaling

class skhubness.reduction.LocalScaling(k: int = 5, method: str = 'standard', verbose: int = 0)[source]

Hubness reduction with local scaling.

__init__(self, k: 'int' = 5, method: 'str' = 'standard', verbose: 'int' = 0)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, k, method, verbose)

Initialize self.

fit(self, neigh_dist, neigh_ind, assume_sorted)

transform(self, neigh_dist, neigh_ind, …)