ELM Classifier does not produce a list of predicted labels

1 view (last 30 days)
My question is Matlab related I am using ELM classifier without kernel to classify my 5 classes. This classifier gives overall accuracy result, train time, test time, train accuracy and test accuracy but it doesnt produced predicted labels list. Please can anyone guide me finding predicted labels?? as without them i cannot be able to calculate f-score, precision and recall of each class. can there be way to find predicted label ..
I have attached my two code files AND one mat file containing actual class labels and Feature vectors. Code files include:
one is main file
the other is ELM classifier function

Answers (1)

BERGHOUT Tarek
BERGHOUT Tarek on 4 Feb 2019
you can just add the name of the output to the function : Y for training output, TY for testing output like this :
[Y,TY,TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = elm(TrainingData_File, TestingData_File, Elm_Type, NumberofHiddenNeurons, ActivationFunction)

Categories

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

Community Treasure Hunt

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

Start Hunting!