Skip to content

Is HyperNEAT trainining recurrent policies? #155

Closed Answered by WLS2002
eleninisioti asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, thank you for your interest in EvoX and TensorNEAT.

Actually, the FullSubstrate used in the examples is recurrent. Its connection pattern is indeed input to hidden, hidden to hidden, and hidden to output. However, in the hidden-to-hidden connections, it connects all hidden nodes pairwise (recurrent). Therefore, the currently implemented HyperNEAT is always recurrent.

You can find the code representing this behavior here:

aux_coors, aux_keys = cartesian_product(
    hidden_idx, hidden_idx, hidden_coors, hidden_coors
)  # use cartesian product, that means (pairwise connections)
query_coors[si * sh : si * sh + sh * sh, :] = aux_coors
correspond_keys[si * sh : si * sh + sh * sh, :] = a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WLS2002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants