[mlpack-git] [mlpack/mlpack] CNE algorithm (#753)

Marcus Edel notifications at github.com
Mon Aug 8 17:10:45 EDT 2016


> +#include "species.hpp"
> +#include "tasks.hpp"
> +#include "parameters.hpp"
> +
> +namespace mlpack {
> +namespace ne {
> +
> +/**
> + * This class implements Conventional Neuro-evolution (CNE): weight
> + * evolution on topologically fixed neural networks.
> + */
> +template<typename TaskType>
> +class CNE {
> + public:
> +  // Parametric constructor.
> +  CNE(TaskType task, Genome& seedGenome, Parameters& params) {

I agree, that for some methods you have to specify a bunch of parameters, so I think the parameter class comes in handy. On the other side, I like to provide a constructor that works right out of the box and starts with some reasonable parameters. I think in the case of the CNE method, we can specify such parameters. Maybe we can provide an constructor for such a situation, what do you think?


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/753/files/10b99ab5c6e8d2836d231fa60a898cc03f7d9192#r73955464
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160808/a0e64da0/attachment.html>


More information about the mlpack-git mailing list