how can find the sensitivity and specificity ?

조회 수: 19 (최근 30일)
Dhurgham Al-karawi
Dhurgham Al-karawi 2016년 1월 4일
댓글: Jeremy Huard 2023년 1월 30일
Hey there ; Could you please help how to find the sensitivity and specificity, I have two classes, class one contains 112 and class two 75 ,and I used SVM as a classifier method to find the accuracy.
May thanks .

답변 (1개)

Jordan Lui
Jordan Lui 2018년 7월 19일
Also, you can use classperf(). There is also an explanation on the page: https://www.mathworks.com/help/bioinfo/ref/classperf.html
  댓글 수: 1
Jeremy Huard
Jeremy Huard 2023년 1월 30일
I would suggest to use fitcsvm instead to train a SVM classifier.
You can then use the rocmetrics object to plot the TOC curve.
This example shows this workflow.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by