b32c8a990a744e135c8787456ef5b62ab40d6da7,nilearn/regions/tests/test_rena_clustering.py,,test_rena_clustering,#,9
Before Change
rena = ReNA(n_clusters=10, mask=nifti_masker, scaling=False)
data_red = rena.fit_transform(data)
data_compress = rena.inverse_transform(data_red)
assert_equal(10, rena.n_clusters_)
assert_equal(data.shape, data_compress.shape)
After Change
assert_raises(ValueError, rena.fit, X)
rena = ReNA(mask_img, n_clusters=10, scaling=True)
X_red = rena.fit_transform(X)
// X_compress = rena.inverse_transform(X_red)
for n_iter in [-2, 0]:
rena = ReNA(mask_img, n_iter=n_iter, memory=memory)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: nilearn/nilearn
Commit Name: b32c8a990a744e135c8787456ef5b62ab40d6da7
Time: 2019-04-18
Author: jerome-alexis.chevalier@inria.fr
File Name: nilearn/regions/tests/test_rena_clustering.py
Class Name:
Method Name: test_rena_clustering
Project Name: IBM/AIF360
Commit Name: 59f85a9fd78286ce39b0f3de6af2cb6e50e799fa
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/preprocessing/reweighing.py
Class Name: ReweighingMeta
Method Name: fit
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 8d27323f6326921b99695792b990c47248df438e
Time: 2020-02-09
Author: sarthak2907@gmail.com
File Name: docs/api/features/manifold.py
Class Name:
Method Name: dataset_example