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 Comments

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.
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.
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
am sorry TY=round(TY) not round(Y)
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
hi, I already adding calculation specificity and sensitifity for ELM, let visit this page https://www.mathworks.com/matlabcentral/fileexchange/75653-elm

Sign in to comment.

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 29 Mar 2019

Community Treasure Hunt

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

Start Hunting!