I'm trying to train a NN using a GA where the fitness is calculated after a certain number of iterations through a simulation (crazy right? :P) but I want to view them in realtime.
In all the examples i've seen, the entire simulation is run inside the CalculateScore method inside the class that implements ICalculateScore. This removes the ability for an outside loop to control updates. Is there a way to associate the ICalculateScore method with a simulation outside of the CalculateScore method?
I can only think of modifying the NeuralGeneticAlgorithm class to spawn a new simulation for every genome it makes but I would prefer to not touch the encog code :/
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer
Hi everyone,
Hi everyone,
I'm having kind of the same problem. Did you find a solution yet?
I'd like to run all score computations in the same simulation and have them graphically displayed in realtime.
I thought about overriding the iteration method in BasicGeneticAlgorithm, but that seems a bit overkill. Any ideas?
Thanks a lot!