ELM Classifier does not produce a list of predicted labels

1 次查看(过去 30 天)
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

回答(1 个)

BERGHOUT Tarek
BERGHOUT Tarek 2019-2-4
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)

类别

Help CenterFile 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!

Translated by