Plot ELM confusion matrix in matlab

Im currently working on classification using ELM in matlab. I use the source code from http://www.ntu.edu.sg/home/egbhuang/index.html. My problem is i can't get the value of true_positive, true_negative, false_positive, and false_negative from the code. Could you help me find those values so i can get sensitivity and specificity for my classification? Big thanks.

6 comentarios

BERGHOUT Tarek
BERGHOUT Tarek el 6 de Abr. de 2019
what do you mean by : true_positive, true_negative, false_positive, and false_negative, i can help you if you explained it more,
you can check my profile.
Ilham Akbar
Ilham Akbar el 6 de Abr. de 2019
I have dataset consists of 2 class, said classA and classB. What i try to figure out is the value of classA predicted as classA, classA predicted as classB, classB predicted as classA and classB predicted as classB. From there ill able to find the senisitivity and specificty of my classification.
BERGHOUT Tarek
BERGHOUT Tarek el 11 de Abr. de 2019
yes you can predict classe with that algorithm; iv you want to predict testing classes just modify you cod like this
[TY,TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = elm........................
and then add this TY=round(Y) to get the classification label , goog luck
BERGHOUT Tarek
BERGHOUT Tarek el 11 de Abr. de 2019
am sorry TY=round(TY) not round(Y)
sushma suresh
sushma suresh el 2 de Nov. de 2019
Hello, how to plot confusion matrix for multiclass problem? I have 10 classes in my dataset and Im using the same elm function [TY, TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = elm ........................ with TY = round (TY) but im unable to see the graph with imagesc function
muhammad mahdi ramadhan
muhammad mahdi ramadhan el 20 de Mayo de 2020
hi, I already adding calculation specificity and sensitifity for ELM, let visit this page https://www.mathworks.com/matlabcentral/fileexchange/75653-elm

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Mzo. de 2019

Comentada:

el 20 de Mayo de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by