def METHOD_NAME(
    n_parts, n_rows, sampling_ratio, supervised, dataset, n_neighbors, client
):
    local_X, local_y = _load_dataset(dataset, n_rows)
    dist_umap = _umap_mnmg_trustworthiness(
        local_X, local_y, n_neighbors, supervised, n_parts, sampling_ratio
    )
    loc_umap = _local_umap_trustworthiness(
        local_X, local_y, n_neighbors, supervised
    )
    logger.debug(
        "\nLocal UMAP trustworthiness score : {:.2f}".format(loc_umap)
    )
    logger.debug("UMAP MNMG trustworthiness score : {:.2f}".format(dist_umap))
    trust_diff = loc_umap - dist_umap
    return trust_diff <= 0.15