bd9d11f8b28a311807906b26395a8ed4f5b74181,talos/metrics/entropy.py,,epoch_entropy,#Any#,5

Before Change


        acc_entropy = nan

    else:
        if "acc" in history.history.keys():
            acc_entropy = entropy(history.history["val_acc"],
                                  history.history["acc"])
            loss_entropy = entropy(history.history["val_loss"],
                                   history.history["loss"])

        elif "loss" in history.history.keys():

After Change


            acc_entropy = nan

    elif no_of_items >= 4:
        if "acc" in keys:
            acc_entropy = entropy(history.history["val_acc"],
                                  history.history["acc"])
        else:
            acc_entropy = nan

        if "loss" in keys:
            loss_entropy = entropy(history.history["val_loss"],
                                   history.history["loss"])
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: autonomio/talos
Commit Name: bd9d11f8b28a311807906b26395a8ed4f5b74181
Time: 2018-10-04
Author: mailme@mikkokotila.com
File Name: talos/metrics/entropy.py
Class Name:
Method Name: epoch_entropy


Project Name: NervanaSystems/coach
Commit Name: 52eb159f696e9cd810072c3a2cc350ae8843f707
Time: 2018-04-23
Author: 30383381+itaicaspi-intel@users.noreply.github.com
File Name: agents/agent.py
Class Name: Agent
Method Name: act


Project Name: AlexEMG/DeepLabCut
Commit Name: 779ecf514d23a0cf7c8f725a5f0fccd6c9d05bea
Time: 2021-02-01
Author: alexander@deeplabcut.org
File Name: deeplabcut/pose_estimation_tensorflow/train_multianimal.py
Class Name:
Method Name: get_optimizer