how to classify the data using extreme learning machine
14 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
kash
2013-8-17
You can check this link for ELM source codes
3 个评论
kash
2013-8-18
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
2014-12-31
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 ??
更多回答(6 个)
BERGHOUT Tarek
2018-9-27
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 个评论
BERGHOUT Tarek
2018-9-27
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.
Satyam tiwari
2020-7-22
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
2015-3-27
编辑:VIVEK
2015-3-27
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 个评论
somnath Mondal
2017-8-7
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
BERGHOUT Tarek
2018-2-4
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 个评论
preksha pareek
2018-8-1
编辑:preksha pareek
2018-8-2
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
2018-8-7
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
BERGHOUT Tarek
2018-8-13
编辑:BERGHOUT Tarek
2018-10-2
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 个评论
yus khalid
2018-9-30
@preksha do you have knowledge about the parameter values ? i have an error in numst parameter.
preksha pareek
2018-12-18
I have set nmust as 4 as the nmust value corresponds to the number of mutation strategies.
Meryem Amali
2020-5-6
Hello Some one help me I need the code matlab classification of beat u sing ELM
0 个评论
另请参阅
类别
在 Help Center 和 File 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!