14278151373a35f7ad805cbcc3eed2ffb4e995e9,tests/test_loss_weighting.py,,,#,157

Before Change




if __name__ == "__main__":
    print("Test class_weight and sample_weight")
    unittest.main()

After Change




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

Frequency: 7

Non-data size: 5

Instances


Project Name: keras-team/keras
Commit Name: 14278151373a35f7ad805cbcc3eed2ffb4e995e9
Time: 2015-12-05
Author: francois.chollet@gmail.com
File Name: tests/test_loss_weighting.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 20ef4a860325d1735df038d4e4b8c7de5e013ed3
Time: 2020-03-11
Author: sven@anyscale.io
File Name: rllib/tests/test_checkpoint_restore.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 14278151373a35f7ad805cbcc3eed2ffb4e995e9
Time: 2015-12-05
Author: francois.chollet@gmail.com
File Name: tests/test_sequential_model.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 14278151373a35f7ad805cbcc3eed2ffb4e995e9
Time: 2015-12-05
Author: francois.chollet@gmail.com
File Name: tests/test_graph_model.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 14278151373a35f7ad805cbcc3eed2ffb4e995e9
Time: 2015-12-05
Author: francois.chollet@gmail.com
File Name: tests/test_loss_masking.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 14278151373a35f7ad805cbcc3eed2ffb4e995e9
Time: 2015-12-05
Author: francois.chollet@gmail.com
File Name: tests/test_optimizers.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 14278151373a35f7ad805cbcc3eed2ffb4e995e9
Time: 2015-12-05
Author: francois.chollet@gmail.com
File Name: tests/test_regularizers.py
Class Name:
Method Name: