def compute_laplacian_matrix(affinity_matrix, method='auto', **kwargs):
    """Compute the laplacian matrix with the given method"""
    if method == 'auto':
        method = 'geometric'
    return Laplacian.init(method, **kwargs).laplacian_matrix(affinity_matrix)
dataset/ETHPy150Open mmp2/megaman/megaman/geometry/laplacian.py/compute_laplacian_matrix/original