ELM Classifier does not produce a list of predicted labels

1 visualización (últimos 30 días)
maida
maida el 26 de Feb. de 2018
Respondida: BERGHOUT Tarek el 4 de Feb. de 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

Respuestas (1)

BERGHOUT Tarek
BERGHOUT Tarek el 4 de Feb. de 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)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by