95c3214ec4e761dfdc7a4d9d30a14f804252d0dc,pyAudioAnalysis/audioTrainTest.py,,model_prerec_and_roc,#,918
Before Change
print(len(wav_file_list))
for w in wav_file_list[::5]:
print(w)
y_true.append(i)
c, p, probs_names = file_classification(w, model_name, model_type)
prob_positive = p[probs_names.index("yes")]
probs_positive.append(prob_positive)
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: 4
Non-data size: 3
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: LCAV/pyroomacoustics
Commit Name: f2e989565ab89af58dff63ab3cf89fe63af38327
Time: 2020-06-02
Author: fakufaku@gmail.com
File Name: examples/raytracing.py
Class Name:
Method Name:
Project Name: Vaibhav/Stock-Analysis
Commit Name: 6b5e593879cd7759bb6b50fdd631ab97eab775bc
Time: 2020-10-11
Author: ishuvaibhav@gmail.com
File Name: Prediction/svc.py
Class Name:
Method Name:
Project Name: GPflow/GPflow
Commit Name: 0d97bc0bb3db40017f1278d6c1f292ea0f789ab0
Time: 2020-03-27
Author: art.art.v@gmail.com
File Name: doc/source/notebooks/advanced/mcmc.pct.py
Class Name:
Method Name: