'Args:
metric: The metric to be used for distance calculation
name (str): Name of the distance
supports_sparse (boolean): Whether this metric works on sparse data
or not.'

def __init__(self, metric, name, supports_sparse):

    self.metric = metric
    self.name = name
    self.supports_sparse = supports_sparse
