Error in find Precision recall curve
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello
I am following https://www.mathworks.com/help/stats/perfcurve.html#bunsogv-XCrit to find PR curve. On x axis i need recall value and on y axis i want precision value. as per the syntax it would be
'XCrit','tpr'
'YCrit','ppv'
but is shows error
['XCrit','tpr','YCrit','ppv'] = perfcurve(Y,diffscore1,'HandGrip');
Error: Assigning the function output to this expression is not supported.
Please help me
댓글 수: 0
채택된 답변
Sargondjani
2021년 6월 23일
Try without the quotations:
[XCrit,tpr,YCrit,ppv] = perfcurve(Y,diffscore1,'HandGrip');
In general quotations are used to specify strings (ie. names), which are not necessary for variable names.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 ROC - AUC에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!