perfcurve return one value

3 visualizaciones (últimos 30 días)
Ezgi Aslan
Ezgi Aslan el 24 de Ag. de 2020
Comentada: Ezgi Aslan el 24 de Ag. de 2020
I used sam (spectral angle mapper) to change detection in hyperspektral image after that want to plot roc(Receiver operating characteristic) using perfcurve function but function return one value. why ? could you help me?
[Xpr,Ypr,Tpr,AUCpr] = perfcurve(hyperdata_gt,abs(result),'1'); plot(Xpr,Ypr);
  1 comentario
Ezgi Aslan
Ezgi Aslan el 24 de Ag. de 2020
[X,Y] = perfcurve(labels,scores,posclass); plot(X,Y);
labels are the true labels of the data, scores are the output scores from your classifier (before the threshold) and posclass is the positive class in your labels.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre AI for Signals en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by