ELM Classifier does not produce a list of predicted labels

1 vue (au cours des 30 derniers jours)
maida
maida le 26 Fév 2018
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

Réponses (1)

BERGHOUT Tarek
BERGHOUT Tarek le 4 Fév 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)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by