ELM Classifier does not produce a list of predicted labels

1 Ansicht (letzte 30 Tage)
maida
maida am 26 Feb. 2018
Beantwortet: BERGHOUT Tarek am 4 Feb. 2019
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

Antworten (1)

BERGHOUT Tarek
BERGHOUT Tarek am 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)

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