34d71c91aca06de1aedab46abb1e4b41a62babdc,gplearn/tests/test_fitness.py,,,#,17

Before Change


from gplearn.fitness import make_fitness, _mean_square_error

// load the boston dataset and randomly permute it
rng = check_random_state(0)
boston = load_boston()
perm = rng.permutation(boston.target.size)
boston.data = boston.data[perm]
boston.target = boston.target[perm]

After Change



// load the breast cancer dataset and randomly permute it
cancer = load_breast_cancer()
perm = check_random_state(0).permutation(cancer.target.size)
cancer.data = cancer.data[perm]
cancer.target = cancer.target[perm]

// load the boston dataset and randomly permute it
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: trevorstephens/gplearn
Commit Name: 34d71c91aca06de1aedab46abb1e4b41a62babdc
Time: 2019-04-22
Author: trev.stephens@gmail.com
File Name: gplearn/tests/test_fitness.py
Class Name:
Method Name:


Project Name: dirty-cat/dirty_cat
Commit Name: 517b2dc918f788222238dd9e90b80808671d9ef7
Time: 2018-11-19
Author: maxime.cuny@inria.fr
File Name: dirty_cat/similarity_encoder.py
Class Name: SimilarityEncoder
Method Name: fit


Project Name: dirty-cat/dirty_cat
Commit Name: 1475f0e510f2053962780c38674994cca056ee2a
Time: 2018-11-19
Author: maxime.cuny@inria.fr
File Name: dirty_cat/similarity_encoder.py
Class Name: SimilarityEncoder
Method Name: fit