How to plot the precision and recall curve?

11 ビュー (過去 30 日間)
Nithya SIvasamy
Nithya SIvasamy 2017 年 5 月 9 日
回答済み: Pramod Soni 2018 年 6 月 23 日
The precision and recall values are calculated as per theand from these values how to get the precision and recall curve.
Recall=[ 0.0432 0.0789 0.1089 0.1365 0.1629 0.1875 0.2121 0.2348 0.2554 0.2743]
Precision=[0.4320 0.3945 0.3630 0.3413 0.3258 0.3125 0.3030 0.2935 0.2838 0.2743]
Whether the values obtained here are correct.
All the precision and recall curves starts and ends by one.
  1 件のコメント
Adam
Adam 2017 年 5 月 9 日
I don't really understand what you are asking, but if you want to plot these numbers then simply
plot( Recall, Precision )
will do the job.
(With the usual caveat that I would always explicitly create an axes first and explicitly pass that to the plot function).

サインインしてコメントする。

回答 (1 件)

Pramod Soni
Pramod Soni 2018 年 6 月 23 日
Precision = [.........];
Recall = [.........];
[Where values are given by you in Precision and Recall]
cftool(Recall, Precision)
It will draw the actual graph

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by