[mlpack-git] [mlpack/mlpack] Neural evolution algorithms implementation (CNE, NEAT, HyperNEAT) (#686)

Marcus Edel notifications at github.com
Tue Jul 19 17:13:01 EDT 2016


> +        genome.Output(output);
> +
> +        double action = output[0];
> +        if (output[0] < 0.5) {
> +          action = -1;
> +        } else {
> +          action = 1;
> +        }
> +        
> +        Action(action, x, x_dot, theta, theta_dot);
> +        fitness += 1;
> +        if (abs(x)>=track_limit || abs(theta)>=theta_limit) break;
> +      }
> +    }
> +
> +    return (1.0 / fitness);

I agree, we should do that for each task.

---
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/686/files/66b0f4171ab0c6810cf3058e653e48d18c4913be#r71424529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160719/b30bd89c/attachment.html>


More information about the mlpack-git mailing list