Error in find Precision recall curve
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ali Asghar
el 23 de Jun. de 2021
Comentada: Ali Asghar
el 24 de Jun. de 2021
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 comentarios
Respuesta aceptada
Sargondjani
el 23 de Jun. de 2021
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre ROC - AUC en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!