how can find the sensitivity and specificity ?

3 Ansichten (letzte 30 Tage)
Dhurgham Al-karawi
Dhurgham Al-karawi am 4 Jan. 2016
Kommentiert: Jeremy Huard am 30 Jan. 2023
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 .

Antworten (1)

Jordan Lui
Jordan Lui am 19 Jul. 2018
Also, you can use classperf(). There is also an explanation on the page: https://www.mathworks.com/help/bioinfo/ref/classperf.html
  1 Kommentar
Jeremy Huard
Jeremy Huard am 30 Jan. 2023
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by