I am new to this community, I have simple question. Can inputs nodes or output nodes be connected to each other in Neat Algorithm?

Note: Inputs to --> Inputs or Output to --> Outputs


I assume you're meaning directly, without any hidden nodes in between. Using the four types of standard NEAT mutation, yes. When the NEAT algorithm begins, it operates on a blank canvas. After each generation, the algorithm will either:

1) Construct a new axon

2) Construct a new node on an existing axon

3) Update existing weights / bias

4) Remove a node or axon from the network

It is not probable to have an input and an output of a trained model directly connected without any sort of node, but depending on the nature of your problem, it is possible.


If you're talking about two input nodes being connected, or two output nodes being connected, then no, not generally.

  • $\begingroup$ Thank you I wanted to ask what you put in the edit section of your answer. But can we say, "outputs and inputs are nodes like other Neurons"? They don't have activation functions I believe, but two or more middle neurons can be connected to one output, no? $\endgroup$ – Meric Ozcan Jan 19 at 17:29
  • $\begingroup$ input nodes are just numbers that are inputted into the system, and do not have activation functions because they are only processing one number. They do, however, feed the input they received to all of the nodes on the next layer through a series of weighted axons. Those weights are processed by the layer receiving the inputs. The output neurons have activation functions because they combine the output of all the nodes in the middle layer into one output for the system. All the middle neurons are always connected to all the outputs (generally). $\endgroup$ – iamPres Jan 19 at 23:28
  • $\begingroup$ Thanks, what you mean by; All the middle neurons are always connected to all the outputs (generally). I know it happens when you are working with Deep Neural Networks. Does this happen in Neat ? Isnt it random process? $\endgroup$ – Meric Ozcan Jan 20 at 10:09
  • $\begingroup$ Yes. In neat the process is random and nothing needs to happen. $\endgroup$ – iamPres Jan 20 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.