콘텐츠로 이동

SaigeClassRoc

  • #include <SaigeVisionAPI.h>

한 클래스의 ROC 곡선과 AUROC입니다. 학습 시 validation 단계에서 산출됩니다.

fpr, tpr, threshold의 길이는 서로 같으며(numPoints), 클래스마다 다를 수 있습니다. SEG 모델의 경우 픽셀 단위 지표입니다.

Public Attributes

Type Name
int classIndex
이 ROC 가 속한 클래스 인덱스입니다. SaigeModelInfo::classNames 와 대응됩니다. 지표가 없는 클래스(예: SEG 의 OK 클래스)는 제외되므로 인덱스가 연속적이지 않을 수 있습니다.
float auroc
ROC 곡선 아래 면적(AUROC)입니다.
int numPoints
fpr, tpr, threshold 배열의 점 개수입니다.
const float * fpr
False positive rate 배열입니다. 길이는 numPoints입니다.
const float * tpr
True positive rate 배열입니다. 길이는 numPoints입니다.
const float * threshold
Threshold 배열입니다. 길이는 numPoints입니다.

Public Attributes Documentation

classIndex

이 ROC 가 속한 클래스 인덱스입니다. SaigeModelInfo::classNames 와 대응됩니다. 지표가 없는 클래스(예: SEG 의 OK 클래스)는 제외되므로 인덱스가 연속적이지 않을 수 있습니다.

int classIndex;

auroc

ROC 곡선 아래 면적(AUROC)입니다.

float auroc;

numPoints

fpr, tpr, threshold 배열의 점 개수입니다.

int numPoints;

fpr

False positive rate 배열입니다. 길이는 numPoints입니다.

const float * fpr;

tpr

True positive rate 배열입니다. 길이는 numPoints입니다.

const float * tpr;

threshold

Threshold 배열입니다. 길이는 numPoints입니다.

const float * threshold;