95c3214ec4e761dfdc7a4d9d30a14f804252d0dc,pyAudioAnalysis/audioTrainTest.py,,model_prerec_and_roc,#,918
Before Change
for i in range(len(pre)):
print(pre[i], rec[i])
print("ROC")
for i in range(len(fpr)):
print(fpr[i], tpr[i])
return thr_prre, pre, rec, thr_roc, fpr, tpr
def file_classification(input_file, model_name, model_type):
After Change
figs.update_xaxes(title_text="threshold", row=1, col=1)
figs.update_xaxes(title_text="false positive rate", row=2, col=1)
figs.update_yaxes(title_text="true positive rate", row=2, col=1)
plotly.offline.plot(figs, filename="temp.html", auto_open=True)
return thr_prre, pre, rec, thr_roc, fpr, tpr
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: tyiannak/pyAudioAnalysis
Commit Name: 95c3214ec4e761dfdc7a4d9d30a14f804252d0dc
Time: 2020-04-23
Author: tyiannak@gmail.com
File Name: pyAudioAnalysis/audioTrainTest.py
Class Name:
Method Name: model_prerec_and_roc
Project Name: kymatio/kymatio
Commit Name: 4f1e7f2f936bf5f3e6d1da8d8be843dc3273fe67
Time: 2018-11-21
Author: janden@flatironinstitute.org
File Name: examples/1d/plot_filters.py
Class Name:
Method Name:
Project Name: interactiveaudiolab/nussl
Commit Name: 97b74b011d7f4e3a144be6417a7285c0fc91fd72
Time: 2017-09-16
Author: ethanmanilow@gmail.com
File Name: demos/demo_ica.py
Class Name:
Method Name: main