46dba208accf08362e25de425011f82d80ccaeb7,tests/test_sdk.py,TestSDK,test_experiment_keras_callback,#TestSDK#,405

Before Change


            exp.end()
        
        // Test params match what is expected
        params_messages = []
        for msg in server_sdk_messages:
            payload = msg["payload"]
            if "params" in payload:
                params_messages.append(payload)

After Change


            keras_cb = exp.callbacks.keras
            keras_cb.on_epoch_end(0, {"val_acc": 1, "val_loss": 2})
            // Sleep 1 second due to client sampling
            time.sleep(1)
            keras_cb.on_epoch_end(1, {"val_acc": 3, "val_loss": 4})
            exp.end()

        // Test metrics match what is expected
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: hyperdashio/hyperdash-sdk-py
Commit Name: 46dba208accf08362e25de425011f82d80ccaeb7
Time: 2017-11-20
Author: richardartoul@gmail.com
File Name: tests/test_sdk.py
Class Name: TestSDK
Method Name: test_experiment_keras_callback


Project Name: philipperemy/deep-speaker
Commit Name: 20c399028672a7beb92cabcd580265fbe057c5eb
Time: 2018-09-15
Author: premy@cogent.co.jp
File Name: v2/audio/generate_all_cache.py
Class Name:
Method Name: main


Project Name: regel/loudml
Commit Name: 61b10365245fd5a0e6602326df0ad268618d0555
Time: 2018-10-02
Author: vianney@redmintnetwork.fr
File Name: loudml-warp10/tests/test_warp10.py
Class Name: TestWarp10
Method Name: test_train


Project Name: HyperGAN/HyperGAN
Commit Name: cb29df4dea83d69ef9f5109398b23158a8c680dc
Time: 2018-09-25
Author: martyn@255bits.com
File Name: examples/next-frame.py
Class Name: VideoFrameSampler
Method Name: _sample