kkentzo / pso Goto Github PK
View Code? Open in Web Editor NEWParticle Swarm Optimization (PSO) in C
License: Other
Particle Swarm Optimization (PSO) in C
License: Other
Hi,
Sorry to bother you, I'm a newbie so hopefully my question won't make you unconfortable.
I want to try to merge your PSO function into mine, what I want to do is using PSO to find optimal parameters of GMM which can differentiates foreground object from background.
But my question is can I use your PSO function without GSL library? I find that you use GSL for random number generation. Is that necessary to use GSL? Or could I just use rand() in C ?
Thanks for your help.
Lou
Could you please implement separate boundaries for each variable in the code?
This could be very useful for many problems which require
separate limitations for the variables involved.
Thanks in advance,
Dionysis Karydis.
Hi,I use Ubantu to run your pso code,I've already set on gsl.But there is still a bug in pso.h-264:
// allocate the RNG
settings->rng = gsl_rng_alloc(gsl_rng_default);
Error message is : identifier "gsl_rng_default" is undefined.
Hey,
I'm learning PSO these days and your library has been extremely helpful in clarifying some doubts I had. However, I see that you use sqrt (i + 1) in the Griewank Function definition, whereas the actual definition uses sqrt (i).
When i use sqrt (i) in my implementation, it always elicits -nan, but yields a value when sqrt (i + 1) is used. Why did you use sqrt (i + 1)?
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.