(distances, a=1.0, b=1.0)
return 1.0 / (1.0 + a * distances ** (2 * b))
convert distance representation into probability,
        as a function of a, b params

    Parameters
    ----------
    distances : array
        euclidean distance between two points in embedding
    a : float, optional
        parameter based on min_dist, by default 1.0
    b : float, optional
        parameter based on min_dist, by default 1.0

    Returns
    -------
    float
        probability in embedding space
convert distance representation into probability,
        as a function of a, b params
convert distance representation into probability as a function of a b params
def convert_distance_to_probability(distances, a=1.0, b=1.0):
    """
     convert distance representation into probability,
        as a function of a, b params

    Parameters
    ----------
    distances : array
        euclidean distance between two points in embedding
    a : float, optional
        parameter based on min_dist, by default 1.0
    b : float, optional
        parameter based on min_dist, by default 1.0

    Returns
    -------
    float
        probability in embedding space
    """
    return 1.0 / (1.0 + a * distances ** (2 * b))
def convert_distance_to_probability ( distances , a = 1.0 , b = 1.0 ) : return 1.0 / ( 1.0 + a * distances ** ( 2 * b ) )