8e0cb25029e4f1443168adb9313b3f49ae13ea0e,modAL/expected_error.py,,expected_error_reduction,#Any#Any#Any#Any#Any#Any#,18

Before Change


            expected_error[x_idx] = np.inf

    if not random_tie_break:
        query_idx = multi_argmax(-expected_error, n_instances)
    else:
        query_idx = shuffled_argmax(-expected_error, n_instances)

    return query_idx, X[query_idx]

After Change


            expected_error[x_idx] = np.inf

    if not random_tie_break:
        return multi_argmax(-expected_error, n_instances)

    return shuffled_argmax(-expected_error, n_instances)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 8

Instances


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/expected_error.py
Class Name:
Method Name: expected_error_reduction


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/multilabel.py
Class Name:
Method Name: max_score


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/multilabel.py
Class Name:
Method Name: min_confidence


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/multilabel.py
Class Name:
Method Name: mean_max_loss


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/multilabel.py
Class Name:
Method Name: avg_confidence


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/multilabel.py
Class Name:
Method Name: max_loss


Project Name: modAL-python/modAL
Commit Name: 8e0cb25029e4f1443168adb9313b3f49ae13ea0e
Time: 2020-09-24
Author: hristov@excentos.com
File Name: modAL/multilabel.py
Class Name:
Method Name: avg_score