82f9e2358c35c5bbff8714280174617ba29cf92b,tests/test_loss_weighting.py,,,#,108

Before Change



// no weights: reference point
model = create_sequential_model()
model.compile(loss=loss, optimizer="rmsprop")
standard_score_sequential = _test_weights_sequential(model)


@keras_test

After Change


    assert(score < standard_score_sequential)


if __name__ == "__main__":
    pytest.main([__file__])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: keras-team/keras
Commit Name: 82f9e2358c35c5bbff8714280174617ba29cf92b
Time: 2017-02-17
Author: francois.chollet@gmail.com
File Name: tests/test_loss_weighting.py
Class Name:
Method Name:


Project Name: deepmipt/DeepPavlov
Commit Name: ca0aca8a9219b0ef5382cdf88c2aa5343cf0d954
Time: 2019-03-22
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/classifiers/keras_classification_model.py
Class Name: KerasClassificationModel
Method Name: __init__


Project Name: keras-team/keras
Commit Name: be24159959672c32abb31697e721d96ae6ffaf97
Time: 2016-02-27
Author: ipod825@gmail.com
File Name: keras/wrappers/scikit_learn.py
Class Name: BaseWrapper
Method Name: fit