how to classify the data using extreme learning machine

3 views (last 30 days)
pls help me how to train and test data and classify using extreme learning machine. i have downloaded the code from net.but i cant get the result. thank you.

Accepted Answer

kash
kash on 17 Aug 2013
You can check this link for ELM source codes
  3 Comments
kash
kash on 18 Aug 2013
ELM code specified gives you the accuracies of training and testing,and time taken,you have to specify the training and test data with the kenrels you need
Krzysztof Fajst
Krzysztof Fajst on 31 Dec 2014
in elm_kernel code they make kind of sorting of targets
sorted_target=sort(cat(2,T,TV.T),2);
so it would be difficult to restore order of predicted classes later. Do you have maybe a code which produces predicted classes in proper ordrer ??

Sign in to comment.

More Answers (6)

BERGHOUT Tarek
BERGHOUT Tarek on 27 Sep 2018
I usually use the standard code version of ELM created bay G.-B. Huang, you can find at this link http://www.ntu.edu.sg/home/egbhuang/elm_codes.html, in training or testing files you must organize your file files according to the instruction that exist in the mat file, in each file dataset instances are organized horizontally which means that the parameters are reordered vertically, and the main point is that data labeled also must contained in the same file with features and you must reserve it in the first column in you data set.
  1 Comment
BERGHOUT Tarek
BERGHOUT Tarek on 27 Sep 2018
TV.T the testing samples TV the output of training samples the form of the is according to the type of ELM if ELM is in regression then the output will be real numbers representing the output value if it is classification then the result will be the number of class or its name.

Sign in to comment.


Satyam tiwari
Satyam tiwari on 22 Jul 2020
I am trying to use this code for regression, could you please suggest me if normalization of data (-1 to 1) will be required before taking input of data ? Or the code will automatically incorporate the nomalization/denormalization part.

VIVEK
VIVEK on 27 Mar 2015
Edited: VIVEK on 27 Mar 2015
i need to design classifier on 169rows*8col features as one data set, i had downloaded above mentioned ELM code using that link,i don't know how to define the function and how to work this code please give some suggestion, thank you
  1 Comment
somnath Mondal
somnath Mondal on 7 Aug 2017
Well you can modify the code as per your convenience,like changing the format of the input data..and to run the algorithm you just need to call the function with proper no of hidden neuron and regularization parameter

Sign in to comment.


BERGHOUT Tarek
BERGHOUT Tarek on 4 Feb 2018
in the training and testing files , you must reorder your observations like this: observation=target,attribute 01,attribute 2,..etc ELM algorithm can gives the performance during training and testing; ELM for classification can create a different targets for each class ,ex: [-1 1] for first class and [1 -1] for second class . if you want to see your sample class you must sort out the variable output TV.T; than compare it to the first target that generated during training TV;
  2 Comments
preksha pareek
preksha pareek on 1 Aug 2018
Edited: preksha pareek on 2 Aug 2018
Can you please elaborate on sorted_target or reordering of training and testing sets. If data size is 132*152 then how 1st column is treated as target (as it signifies data only)?
BERGHOUT Tarek
BERGHOUT Tarek on 7 Aug 2018
if you have a training set of 132*152 of samples, firstly you have to divide it into two data sets the training and testing sets, generally the training set took 80% and 20% for testing, please follow these steps: 1-you must makes sure that each instances of your data is putted in raws and the parameters in columns 2-devide you set into two sets for example : the training set is an 100*152 samples and the testing set is 32*152 samples. 3- do not for get to bring the target colomn into the first colmn of the dataset first. 4-in the algorithm of Huang bin yang in case of regression the sort of variables of targets can not affect too much on the learning process. 5-than unleash the learning and testing processes. 6-notes : ELM machine dependes on solving a leanear problems using Moore-penerose method if x is the input and the target is y then : y=(G(x* input weigths))*output weigths. but during the test our goal is to determine the output weights than we should search for the best way to find it, Moore peneroose achieves butter results but if the number of neurons is huge. I hope that it is helpful and thanks

Sign in to comment.


BERGHOUT Tarek
BERGHOUT Tarek on 13 Aug 2018
Edited: BERGHOUT Tarek on 2 Oct 2018
if you choose your ELM network to be in regression type, that is in data set you are searching for a function that takes each instance X to the target Y,and Y represent a value for example: the image of X=(0.25 0.8 0.9) is 0.1. as a conclusion in leaner regression we are searching for an unknown function using labeled data (each instance has its own image) , unlike classification where we are searching for the class that this instance belongs to, and this class could be 1 or 2 or a or b (just an identity for the class) thank you very much
  5 Comments
yus khalid
yus khalid on 30 Sep 2018
@preksha do you have knowledge about the parameter values ? i have an error in numst parameter.
preksha pareek
preksha pareek on 18 Dec 2018
I have set nmust as 4 as the nmust value corresponds to the number of mutation strategies.

Sign in to comment.


Meryem Amali
Meryem Amali on 6 May 2020
Hello Some one help me I need the code matlab classification of beat u sing ELM

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!