5a33360ebb84c5f89035417c5aee042dab235127,sklearn/ensemble/tests/test_gradient_boosting.py,,,#,43
Before Change
// also load the boston dataset
// and randomly permute it
boston = datasets.load_boston()
perm = rng.permutation(boston.target.size)
boston.data = boston.data[perm]
boston.target = boston.target[perm]
// also load the iris dataset
// and randomly permute it
iris = datasets.load_iris()
After Change
true_result = [-1, 1, 1]
// also make regression dataset
X_reg, y_reg = make_regression(
n_samples=500, n_features=10, n_informative=8, noise=10, random_state=7
)
y_reg = scale(y_reg)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: scikit-learn/scikit-learn
Commit Name: 5a33360ebb84c5f89035417c5aee042dab235127
Time: 2020-06-23
Author: jliu176@gmail.com
File Name: sklearn/ensemble/tests/test_gradient_boosting.py
Class Name:
Method Name:
Project Name: deepchem/deepchem
Commit Name: 630aca5c7d9629c3714b244638dba81370a2ae89
Time: 2020-08-19
Author: peastman@stanford.edu
File Name: deepchem/data/pytorch_datasets.py
Class Name: _TorchImageDataset
Method Name: __iter__
Project Name: scikit-learn-contrib/lightning
Commit Name: c765d1e7e8af81d5a09b53e592d768d7318c963a
Time: 2012-01-12
Author: mathieu@mblondel.org
File Name: lightning/tests/test_primal.py
Class Name:
Method Name:
Project Name: deepchem/deepchem
Commit Name: 630aca5c7d9629c3714b244638dba81370a2ae89
Time: 2020-08-19
Author: peastman@stanford.edu
File Name: deepchem/data/pytorch_datasets.py
Class Name: _TorchNumpyDataset
Method Name: __iter__