e2b67b112d0f3db38221d8dd0c9efc395e17792e,mlxtend/evaluate/bootstrap_point632.py,,no_information_rate,#,31
Before Change
def no_information_rate(targets, predictions, loss_fn):
combinations = np.array(np.meshgrid(targets, predictions)).reshape(-1, 2)
return loss_fn(combinations[:, 0], combinations[:, 1])
def accuracy(targets, predictions):
After Change
def no_information_rate(targets, predictions, loss_fn):
combinations = np.array(list(product(targets, predictions)))
return loss_fn(combinations[:, 0], combinations[:, 1])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rasbt/mlxtend
Commit Name: e2b67b112d0f3db38221d8dd0c9efc395e17792e
Time: 2020-05-13
Author: mail@sebastianraschka.com
File Name: mlxtend/evaluate/bootstrap_point632.py
Class Name:
Method Name: no_information_rate
Project Name: tensorflow/models
Commit Name: 8da4857396fcedb1abd19a08cd4de40d16c7bc50
Time: 2020-08-17
Author: 30733558+plakal@users.noreply.github.com
File Name: research/audioset/yamnet/yamnet_test.py
Class Name: YAMNetTest
Method Name: clip_test
Project Name: PIQuIL/QuCumber
Commit Name: a3645eada1fd6b0dc2f262033a93b81a6ca84b55
Time: 2019-12-23
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/unitaries.py
Class Name:
Method Name: rotate_psi_inner_prod