how can find the sensitivity and specificity ?
2 次查看(过去 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 .
0 个评论
回答(1 个)
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
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 Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!