ea2481912bb13d3291dbb73334fcc6bbd674b520,src/eval_test.py,,evaluate,#Any#Any#Any#Any#Any#Any#,14

Before Change


        mcc = matthews_corrcoef(golds, preds)
        print("mcc: %.3f" % mcc)
    if "corr" in metrics:
        corr = pearsonr(golds, preds)
        print("pearson r: %.3f" % mcc)
        corr = spearmanr(golds, preds)
        print("spearman r: %.3f" % mcc)

After Change


        mcc = matthews_corrcoef(golds, preds)
        print("mcc: %.3f" % mcc)
    if "corr" in metrics:
        corr = pearsonr(golds, preds)[0]
        print("pearson r: %.3f" % corr)
        corr = spearmanr(golds, preds)[0]
        print("spearman r: %.3f" % corr)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: jsalt18-sentence-repl/jiant
Commit Name: ea2481912bb13d3291dbb73334fcc6bbd674b520
Time: 2018-04-13
Author: wang.alex.c@gmail.com
File Name: src/eval_test.py
Class Name:
Method Name: evaluate


Project Name: kwgoodman/numerox
Commit Name: fa584c1918e0db22fb5db566d66cf46c7e6a26b2
Time: 2018-04-16
Author: kwgoodman@gmail.com
File Name: numerox/prediction.py
Class Name: Prediction
Method Name: originality


Project Name: EducationalTestingService/skll
Commit Name: eef2408a1802d8d9975f7df9261fce149c89ac62
Time: 2013-02-21
Author: mheilman@ets.org
File Name: classifier.py
Class Name:
Method Name: pearson