ee4b0bcc2cbac3c79c9b0b2c30036d189654bed4,keras/datasets/boston_housing.py,,load_data,#Any#Any#Any#,5
Before Change
f.close()
np.random.seed(seed)
np.random.shuffle(x)
np.random.seed(seed)
np.random.shuffle(y)
x_train = np.array(x[:int(len(x) * (1 - test_split))])
After Change
f.close()
np.random.seed(seed)
indices = np.arange(len(x))
np.random.shuffle(indices)
x = x[indices]
y = y[indices]
x_train = np.array(x[:int(len(x) * (1 - test_split))])
y_train = np.array(y[:int(len(x) * (1 - test_split))])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: keras-team/keras
Commit Name: ee4b0bcc2cbac3c79c9b0b2c30036d189654bed4
Time: 2017-10-31
Author: ozabluda@gmail.com
File Name: keras/datasets/boston_housing.py
Class Name:
Method Name: load_data
Project Name: keras-team/keras
Commit Name: 403b4fc7a25da5d957b24f1c269103ef6e290bd6
Time: 2016-01-26
Author: udi@benreuven.com
File Name: keras/preprocessing/image.py
Class Name: ImageDataGenerator
Method Name: flow
Project Name: biocore/scikit-bio
Commit Name: cc505fda58715e84479766dff8ad8c1782ab4623
Time: 2014-10-08
Author: jsanders@oeb.harvard.edu
File Name: skbio/stats/evolve/_hommola.py
Class Name:
Method Name: hommola_cospeciation