I want to train a neural network using Particle Swarm Optimization algorithm, but matlab toolbox doesn't have any function for train network with this algorithm, I've searched and founded some PSO toolboxes but they didn't work. Can anybody help me please?
Thanks
you can use George Ever's toolbook for trainng neural network using PSO:
http://www.georgeevers.org/pso_research_toolbox.htm
and download tricia sample code:
http://www.mathworks.com/matlabcentral/fileexchange/29565-neural-network-add-in-for-psort
hope it helps, :)
Related
I encountered a very strange problem while using Matlab 2016a Using a neural network built into the Perceptron NNtool toolbox, I try to predict a nonlinear variable. However, during training, the values obtained are for testing and training and validation of NANs. I tried to change the learning speed and hide the layers, but nothing worked. Do you have any idea, why is this so? Any help is greatly appreciated!
I am new to matlab and my project requires 1D Convolutional Neural Network. Can anyone tell me how to design 1D CNN in matlab? Does it require any special hardware? Refrence to some blogs will be really helpful.
Thank you.
As I know CNN implementation requires GPU. Matlab 2016 version have some inbuilt function but requires GPU installed to work. Python and tensorflow works great and quick , I would like you suggest to try those than Matlab.
In the lectures we only mention how to train the RBF network with Gausian function and how to use the "newrb" tool box in Matlab. But in the assignemnet I need to create my own RBF network which using the NN toolbox is forbidden. Basically I not even know how to start it and our professor not willing to provide any information.
With some tips I have write my own program but the performance is very bad, I am wonder if any one can give me some helpful tutorial or guides that how to create the RBF network with Gaussian function without using NN toolbox.
I have used k-means to obtain the centers and gaussian function to caculuate the weights, the main probrlem is that I have no idea how to design the method that transform the Input matrix to the RBF matrix. Hope you can help.
This is clearly homework, and it's not clear what your question is. But I think you are wondering how to create the Gram matrix. If so, see:
http://en.wikipedia.org/wiki/Gramian_matrix
You should have the math for how to do each step in your textbook and/or notes.
I tried with GPUmat, but the neural network toolbox from mathworks does´t support it. Otherwise I must change the nn-toolbox by myself. But it´s too hard for me. Any suggestion for me?
I don't know whether this will accelerate the Neural Network Toolbox in particular, but the Mathworks now offers CUDA GPU support via the Parallel Computing Toolbox:
http://www.mathworks.com/discovery/matlab-gpu.html?s_cid=HP_MI_tech_gpu
Matlab provides its own toolbox for training neural networks on GPU, see here.
As an author, I also advice to use my toolbox ConvNet, that uses kernels of Alex Krizhevsky's library cuda-convnet2. It also has pure CPU and Matlab versions, that work identically. There is also another toolbox for Matlab, called MatConvNet, but I have not checked it.
Is there any example or toolbox in MATLAB Where I can apply bayesian networks?
I am solving a problem with 8 variables, But do not really how to begin, someone are dependent of some variables.
There is the Bayes Net Toolbox available via Google Code, complete with an introduction and examples. Hope this helps!