이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
This function calculates the Receiver Operating Characteristic curve, which represents the 1-specificity and sensitivity of two classes of data, (i.e., class_1 and class_2).
The function also returns all the needed quantitative parameters: threshold position, distance to the optimum point, sensitivity, specificity, accuracy, area under curve (AROC), positive and negative predicted values (PPV, NPV), false negative and positive rates (FNR, FPR), false discovery rate (FDR), false omission rate (FOR), F1 score, Matthews correlation coefficient (MCC), Informedness (BM) and Markedness; as well as the number of true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN).
Example of use:
class_1 = 0.5*randn(100,1);
class_2 = 0.5+0.5*randn(100,1);
roc_curve(class_1, class_2);
인용 양식
Víctor Martínez-Cagigal (2026). ROC Curve (https://kr.mathworks.com/matlabcentral/fileexchange/52442-roc-curve), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 3.1 | All parameters are now printed in the CMD. |
||
| 3.0 | The function now outputs more parameters. |
||
| 2.1.0.0 | Classes are now indicated separately. |
||
| 2.0.0.0 | Different sizes in class_1 and class_2 are now allowed. |
||
| 1.1.0.0 | Fixed a bug in the output data. |
||
| 1.0.0.0 |
