skfolio.utils.stats.assert_is_distance# skfolio.utils.stats.assert_is_distance(x)[source]# Raises an error if the matrix is not a distance matrix. Parameters: xndarray of shape (n, n)The matrix. Raises: ValueError: if the matrix is a distance matrix.