f4503bb3a3be014b452f54d8e2d187bb6419f627,tests/test_utils.py,,test_model_trainer,#,7
Before Change
def test_model_trainer():
model = RandomConvClassifierGenerator(3, (28, 28, 1)).generate()
ModelTrainer(model, np.random.rand(2, 28, 28, 1), np.random.rand(2, 3), np.random.rand(1, 28, 28, 1),
np.random.rand(1, 3), False).train_model()
After Change
def test_model_trainer():
model = DefaultClassifierGenerator(3, (28, 28, 3)).generate().produce_model()
train_data, test_data = get_processed_data()
ModelTrainer(model, train_data, test_data, False).train_model(max_iter_num=3)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/autokeras
Commit Name: f4503bb3a3be014b452f54d8e2d187bb6419f627
Time: 2018-08-01
Author: jhfjhfj1@gmail.com
File Name: tests/test_utils.py
Class Name:
Method Name: test_model_trainer
Project Name: GPflow/GPflow
Commit Name: 74cf61bdaa5b61b8a61fb3115eb6c664a5dcf955
Time: 2019-10-07
Author: sergio.diaz@prowler.io
File Name: tests/test_printing.py
Class Name: Data
Method Name: Data_1
Project Name: keras-team/autokeras
Commit Name: 0a80b9769115d291f15c244429793eda4cb8ecad
Time: 2017-12-28
Author: jhfjhfj1@gmail.com
File Name: tests/test_layer_transformer.py
Class Name:
Method Name: test_conv_to_wider_layer