41542e4390b3de8beac4222a9e58925e56c872a5,tests/autokeras/auto_model_test.py,,test_final_fit_concat,#Any#Any#,45

Before Change


    x_train = np.random.rand(100, 32, 32, 3)
    y_train = np.random.rand(100, 1)

    auto_model = ak.AutoModel(ak.ImageInput(),
                              ak.RegressionHead(),
                              directory=tmp_path,
                              max_trials=2)
    auto_model.fit(x_train, y_train, epochs=2, validation_split=0.2)
    assert auto_model._split_dataset
    assert tuner.search.call_args_list[0][1]["fit_on_val_data"]

After Change


    x_train = np.random.rand(100, 32, 32, 3)
    y_train = np.random.rand(100, 1)

    auto_model = get_single_io_auto_model(tmp_path)
    auto_model.fit(x_train, y_train, epochs=2, validation_split=0.2)
    assert auto_model._split_dataset
    assert tuner.search.call_args_list[0][1]["fit_on_val_data"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: keras-team/autokeras
Commit Name: 41542e4390b3de8beac4222a9e58925e56c872a5
Time: 2020-05-24
Author: jin@tamu.edu
File Name: tests/autokeras/auto_model_test.py
Class Name:
Method Name: test_final_fit_concat


Project Name: keras-team/autokeras
Commit Name: 41542e4390b3de8beac4222a9e58925e56c872a5
Time: 2020-05-24
Author: jin@tamu.edu
File Name: tests/autokeras/auto_model_test.py
Class Name:
Method Name: test_auto_model_predict


Project Name: keras-team/autokeras
Commit Name: 41542e4390b3de8beac4222a9e58925e56c872a5
Time: 2020-05-24
Author: jin@tamu.edu
File Name: tests/autokeras/auto_model_test.py
Class Name:
Method Name: test_export_model


Project Name: keras-team/autokeras
Commit Name: 41542e4390b3de8beac4222a9e58925e56c872a5
Time: 2020-05-24
Author: jin@tamu.edu
File Name: tests/autokeras/auto_model_test.py
Class Name:
Method Name: test_overwrite


Project Name: keras-team/autokeras
Commit Name: 41542e4390b3de8beac4222a9e58925e56c872a5
Time: 2020-05-24
Author: jin@tamu.edu
File Name: tests/autokeras/auto_model_test.py
Class Name:
Method Name: test_final_fit_not_concat