d6388ed6457465ab35da8a34ae4abf5847a50cd0,tests/keras/test_callbacks.py,,test_TensorBoard_with_ReduceLROnPlateau,#Any#,979

Before Change


    np.random.seed(np.random.randint(1, 1e7))
    filepath = str(tmpdir / "logs")

    (X_train, y_train), (X_test, y_test) = get_test_data(num_train=train_samples,
                                                         num_test=test_samples,
                                                         input_shape=(input_dim,),
                                                         classification=True,
                                                         num_classes=num_classes)
    y_test = np_utils.to_categorical(y_test)
    y_train = np_utils.to_categorical(y_train)

    model = Sequential()

After Change


    np.random.seed(np.random.randint(1, 1e7))
    filepath = str(tmpdir / "logs")

    (X_train, y_train), (X_test, y_test) = get_data_callbacks()
    y_test = np_utils.to_categorical(y_test)
    y_train = np_utils.to_categorical(y_train)

    model = Sequential()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 14

Non-data size: 7

Instances


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_TensorBoard_with_ReduceLROnPlateau


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_EarlyStopping


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_TerminateOnNaN


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: tests_RemoteMonitor


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_CSVLogger


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_ReduceLROnPlateau


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_TensorBoard


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_stop_training_csv


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_CallbackValData


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: tests_RemoteMonitorWithJsonPayload


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_ModelCheckpoint


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_LearningRateScheduler


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_TensorBoard_histogram_freq_must_have_validation_data


Project Name: keras-team/keras
Commit Name: d6388ed6457465ab35da8a34ae4abf5847a50cd0
Time: 2018-09-17
Author: gabrieldemarmiesse@gmail.com
File Name: tests/keras/test_callbacks.py
Class Name:
Method Name: test_LambdaCallback