perfcurve with simultaneous conditions
Afficher commentaires plus anciens
Hi everybody, suppose I want to obtain the ROC curve por example with patients with and without fever... so it's very simple, I do next code:
% 'fever' is a vector with temperature measures of 'Nfever' sick patients
% 'nofever' is a vector with temperature measures of 'Nnofever' healthy persons
labels = [repmat('FEVER ', Nfever, 1); repmat('NOFEVER', Nnofever, 1)];
scores = [fever; nofever];
posclass = 'FEVER ';
[FPR, TPR, T, AUC, posopt] = perfcurve(labels, scores, posclass);
The code get me all the info in order to get the ROC curve and the threshold temperature level in order to say if a particular person has or not fever.
Now, suppose I have another two score vectors including cold and uncold info of this same group of people. This is, I can see if a person has fever and cold; has no fever and cold; has fever and no cold; and has no fever and no cold.
I looking for a ROC curve in order to see with people has simultaneosly fever and cold, and get the threshold level.
Could anyone help me ?
thanks in advance, Esteban
Réponses (0)
Catégories
En savoir plus sur ROC - AUC dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!