d1a2563cbf10c1470835b04bbc6e7d627d71019a,nilearn/input_data/nifti_labels_masker.py,NiftiLabelsMasker,__init__,#NiftiLabelsMasker#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,125
Before Change
"minimum", "maximum",
"standard_deviation", "variance"}
if strategy not in available_reduction_strategies:
raise ValueError(str.format(
"Invalid strategy "{}". Valid strategies are {}.",
strategy,
available_reduction_strategies
))
self.strategy = strategy
if resampling_target not in ("labels", "data", None):
raise ValueError("invalid value for "resampling_target" "
After Change
if strategy not in available_reduction_strategies:
raise ValueError(str.format(
"Invalid strategy "{}". Valid strategies are {}.",
strategy,
available_reduction_strategies
))
self.strategy = strategy
if resampling_target not in ("labels", "data", None):
raise ValueError("invalid value for "resampling_target" "
"parameter: " + str(resampling_target))
def fit(self, X=None, y=None):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: nilearn/nilearn
Commit Name: d1a2563cbf10c1470835b04bbc6e7d627d71019a
Time: 2020-12-09
Author: nicolas.gensollen@gmail.com
File Name: nilearn/input_data/nifti_labels_masker.py
Class Name: NiftiLabelsMasker
Method Name: __init__
Project Name: nilearn/nilearn
Commit Name: d1a2563cbf10c1470835b04bbc6e7d627d71019a
Time: 2020-12-09
Author: nicolas.gensollen@gmail.com
File Name: nilearn/input_data/nifti_labels_masker.py
Class Name: NiftiLabelsMasker
Method Name: __init__
Project Name: nilearn/nilearn
Commit Name: c8ecb48ed953c9fb20372e0e110fc42ff3f96145
Time: 2021-02-23
Author: nicolas.gensollen@gmail.com
File Name: nilearn/input_data/nifti_labels_masker.py
Class Name: NiftiLabelsMasker
Method Name: __init__
Project Name: prody/ProDy
Commit Name: c0c0e9e18e2538d0a9d14260a2e36031e1122d2c
Time: 2012-10-20
Author: lordnapi@gmail.com
File Name: lib/prody/proteins/pdbclusters.py
Class Name:
Method Name: listPDBCluster