7d1a31ecca3991064491f71afd4ae70fb78d5027,ludwig/predict.py,,predict,#Any#Any#Any#Any#Any#Any#Any#,140

Before Change


    // combine predictions with the overall metrics
    for of_name in test_predictions:
        // remove logits, not needed for overall stats
        del test_predictions[of_name][LOGITS]

        if of_name not in test_stats:
            test_stats[of_name] = {}

After Change


    // combine predictions with the overall metrics
    for of_name in test_predictions:
        // remove logits, not needed for overall stats
        if LOGITS in test_predictions[of_name]:
            del test_predictions[of_name][LOGITS]

        if of_name not in test_stats:
            test_stats[of_name] = {}

        test_stats[of_name] = {**test_stats[of_name],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: uber/ludwig
Commit Name: 7d1a31ecca3991064491f71afd4ae70fb78d5027
Time: 2020-09-08
Author: piero@uber.com
File Name: ludwig/predict.py
Class Name:
Method Name: predict


Project Name: AlexEMG/DeepLabCut
Commit Name: 3ca64e59d66a3be1701ebf58cdf4c2a0320be2f8
Time: 2018-11-13
Author: amathis@fas.harvard.edu
File Name: deeplabcut/pose_estimation_tensorflow/evaluate.py
Class Name:
Method Name: evaluate_network


Project Name: AlexEMG/DeepLabCut
Commit Name: 3ca64e59d66a3be1701ebf58cdf4c2a0320be2f8
Time: 2018-11-13
Author: amathis@fas.harvard.edu
File Name: deeplabcut/pose_estimation_tensorflow/predict_videos.py
Class Name:
Method Name: analyze_videos