[mlpack] GSoC 2018: Particle Swarm Optimization

Marcus Edel marcus.edel at fu-berlin.de
Mon Mar 12 09:26:34 EDT 2018


Hello Chintan,

> I'll check it out thoroughly today. I went over it briefly and noticed
> it involves the gbest PSO; maybe I can start with lbest PSO then?

That is correct, if you like to work on it, please feel free.

> Glad to know that, I'll also look into the idea of using lambdas, and
> see if I can come up with a comparison between the two.

Sounds good, that might be a good point to include in the application.

> Thanks for all the help. I'll begin drafting a proposal in a day or
> two. Is there a specific format for the proposal? I went through the
> Application Guide; there was no mention of a format, just guidelines
> and required content in the proposal. Will a simple Google Doc do?

Google recommends, google docs, which makes it super easy to provide feedback.

Thanks,
Marcus

> On 12. Mar 2018, at 03:14, Chintan Soni <chintan.soni4 at gmail.com> wrote:
> 
> Hello Marcus,
> 
>> There is already an open PR for the standard PSO
>> https://github.com/mlpack/mlpack/pull/1225 that should be helpful.
> 
> I'll check it out thoroughly today. I went over it briefly and noticed
> it involves the gbest PSO; maybe I can start with lbest PSO then?
> 
>> Agreed, that is definitely an option we can adapt for the PSO method.
> 
> Glad to know that, I'll also look into the idea of using lambdas, and
> see if I can come up with a comparison between the two.
> 
>> Agreed, another FunctionType is a good idea to represent multiple functions, one
>> idea is to use variadic templates to pass multiple functions, that would allow
>> us to use the same interface.-
> 
> Yes, variadic templates seem like the right option for now.
> 
>> Right, the codebase does use a lot of memory in the build step, one idea is to
>> turn off the python bindings and the executables:
>> 
>> cmake  -DBUILD_CLI_EXECUTABLES=OFF -DBUILD_PYTHON_BINDINGS=OFF ..
>> 
>> you can also check if adding -DDEBUG=ON helps. Also, maybe there is an option to
>> increase/add Swap?
> 
> I'll turn off the python bindings and executables and try building
> once again. I have been using the DEBUG flag already, so I'll look
> into adding swap area next.
> 
> Thanks for all the help. I'll begin drafting a proposal in a day or
> two. Is there a specific format for the proposal? I went through the
> Application Guide; there was no mention of a format, just guidelines
> and required content in the proposal. Will a simple Google Doc do?
> 
> Thanks and regards,
> Chintan



More information about the mlpack mailing list