How do I implement particle swarm optimization, ant colony optimization and/or other data clustering algorithms on a 152*3 data matrix using MATLAB?
-
-
Answer:
First of all, you are on the right track by choosing MATLAB owing to ready-to-use tools. For instance, http://www.mathworks.com/matlabcentral/fileexchange/46985-particle-swarm-optimization--vectorized-code- provides a vectorized PSO code which can be used in a 152*3 data matrix in a fairly trivial manner. Firstly you should identify the number of particles whose nominal value is around 50. The number of variables might be 3 in your case but double check it please. Incorporating your cost function into the code might be more challenging, but you should roughly insert your cost function to the corresponding cost function part of the code. You can adjust the other parameters like lower bound and upper bound of explosion etc manually. Then you are ready to execute the code with those parameters but in due course you might need to fine tune some parameters that I mentioned above.
Aykut Yildiz at Quora Visit the source
Related Q & A:
- How do I implement actionBarSherlock?Best solution by androidbegin.com
- How can I implement an atomic incr and decr on top of an eventually consistent key-value store?Best solution by Stack Overflow
- How can I implement idle timeout in android?Best solution by Stack Overflow
- How can I implement a multilayer social network in R?Best solution by Computational Science
- How can I remove a picture's watermark using Matlab's image processing toolbox?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.