fec5e567f52fec1ec897431c3108c290746dcd10,examples/feat_bagging_example.py,,,#,14
Before Change
X_train, y_train, c_train, X_test, y_test, c_test = generate_data(
n_train=n_train, n_test=n_test, contamination=contamination)
X = np.asarray([[1, 2],
[3, 4],
[5, 6]])
w = [[0.2], [0.6]]
average(X, w)
After Change
// X_train, y_train, X_test, y_test = generate_data(
// n_train=n_train, n_test=n_test, contamination=contamination)
clf_name = "FBagging"
clf = FeatureBagging(base_estimator=KNN(), random_state=2)
clf.fit(X_train)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: yzhao062/pyod
Commit Name: fec5e567f52fec1ec897431c3108c290746dcd10
Time: 2018-06-03
Author: yuezhao@cs.toronto.edu
File Name: examples/feat_bagging_example.py
Class Name:
Method Name:
Project Name: nilearn/nilearn
Commit Name: 958eeaaa462b1c7f8f98dea8ba2cec5cf6ab32d8
Time: 2015-05-13
Author: abraham.alexandre@gmail.com
File Name: nilearn/input_data/tests/test_nifti_spheres_masker.py
Class Name:
Method Name: test_sphere_extraction
Project Name: nilearn/nilearn
Commit Name: 4b50eb041ce3a84e9ffdc37232a99f91133dbd2c
Time: 2015-05-07
Author: abraham.alexandre@gmail.com
File Name: nilearn/input_data/tests/test_nifti_spheres_masker.py
Class Name:
Method Name: test_sphere_extraction