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

Marcus Edel notifications at github.com
Thu Aug 18 09:27:19 EDT 2016


> +    for (int i=0; i<aLinkInnovations.size(); ++i)
> +    {
> +      if (aLinkInnovations[i].fromNeuronId == fromNeuronId && 
> +          aLinkInnovations[i].toNeuronId == toNeuronId)
> +      {
> +        return i;
> +      }
> +    }
> +    
> +    return -1;  // -1 means no match found, a new innovation.
> +  }
> +
> +  /**
> +   * Check whether a neuron innovation already exist.
> +   *
> +   * @param splitLinkInnovId The innovation id of the link to be split.

Would be great if you add a comment about the ``actFuncType`` parameter.

-- 
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/e176571e0ba5256514f14c951e101c95c6cee10a#r75306926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160818/c6ca90fa/attachment-0001.html>


More information about the mlpack-git mailing list