def get_params(self):
        """Get parameters from this object
        """
        params = super().get_params()
        params.update({'knn': self.knn,
                       'decay': self.decay,
                       'bandwidth': self.bandwidth,
                       'bandwidth_scale': self.bandwidth_scale,
                       'distance': self.distance,
                       'precomputed': self.precomputed})
        return params
def get_params ( self ) : params = super ( ) . get_params ( ) params . update ( { 'knn' : self . knn , 'decay' : self . decay , 'bandwidth' : self . bandwidth , 'bandwidth_scale' : self . bandwidth_scale , 'distance' : self . distance , 'precomputed' : self . precomputed } ) return params
Get parameters from this object