def classify_regions(dataset, masks, method='ERF', threshold=0.08,
    remove_overlap=True, regularization='scale',
    output='summary', studies=None, features=None,
    class_weight='auto', classifier=None,
    cross_val='4-Fold', param_grid=None, scoring='accuracy'):

    (X, y) = get_studies_by_regions(dataset, masks, threshold,
                                    remove_overlap, studies, features, regularization=regularization)

    return classify(X, y, method, classifier, output, cross_val,
                    class_weight, scoring=scoring, param_grid=param_grid)
Perform classification on specified regions
dataset/ETHPy150Open neurosynth/neurosynth/neurosynth/analysis/classify.py/classify_regions