pkalivas / radiate

A genetic programming engine which evolves solutions through asynchronous speciation.
MIT License
147 stars 16 forks source link

Meaning of `.reset()`? #16

Closed wbrickner closed 2 years ago

wbrickner commented 2 years ago

What does .reset() method do on Neat struct?

I'd like to ensure my understanding is correct, as the documentation is a little unclear.

My real goal is to remove any previous state that may be retained in the network from previous evaluations / forward passes. This ensures there is no chance of information leakage between successive trials (fitness measurements).

Will the .reset() method do this?

Thank you!

pkalivas commented 2 years ago

Correct, the .reset() method will clear all memory/previous state from the NEAT network.