d6388ed6457465ab35da8a34ae4abf5847a50cd0,tests/keras/test_callbacks.py,,test_LearningRateScheduler,#,415
Before Change
@keras_test
def test_LearningRateScheduler():
np.random.seed(1337)
(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()
model.add(Dense(num_hidden, input_dim=input_dim, activation="relu"))
After Change
@keras_test
def test_LearningRateScheduler():
np.random.seed(1337)
(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()
model.add(Dense(num_hidden, input_dim=input_dim, activation="relu"))
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_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: 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_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_LambdaCallback
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_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_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: 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_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_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_TensorBoard