Is there any simple code to perform the training of ensemble classifier of SVM and ANN on a set of data (available in Matlab like wine, fisheriris, etc... )
Please, take a look at my matlab toolbox on ensemble learning: https://www.mathworks.com/matlabcentral/fileexchange/68383-ensemble-learning-toolbox
It works well with matlab's statistical and machine learning toolbox.
Unfortunately, matlab's neural network toolbox is not fully compatible, so you'll need to embed it with custom functions. (Feel free to contact me if you need help with this)
I need help regarding the ensemble of neural network with the existing toolbox of yours. The neural network training mus be added at "prepare learner section". I have attached a neural network code using neural network toolbox but I am a novice in writing the custom function (as you have suggested). Can you help me with this.
I have prepared a custom class to embedd the patternnet.
I have attached such a class and also a new example based on neural networks ensembles. (there is a commented line that shows how to train NN + SVM ensembles)
I have tested the code on wine data set by using SVM and NN. the 'fitcecoc' function for SVM does not give good accuracy whether I have developed the custom code for multiclass SVM which gives a good result. Can you help to integrate this custom code for SVM with your classifiers? You can include this to your toolbox also if you feel.
I am attaching the folder in which all your functions along with my functions are embedded.
1. Wine Test is the code using fitcecoc and fitcnet