neat.evolve() crashes when fitness set to null
See original GitHub issueRunning my code I now have this error
ReferenceError: Parameter "dataset" is required; parameter "dataset" is missing.
Code:
neat.evolve(null, filter, adjust);
It seems that evolve no longer allows null datasets.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:32 (22 by maintainers)
Top Results From Across the Web
Evolving Neural Networks NEAT With 3D Cars + Tutorial
Tutorial starts at 16:12!!!This project is on an agent problem solver program that I made in Unity. This application can take a given...
Read more >NEAT – For the love of challenges :) - A Developers Blog
This first demo is about sweepers which main function is to seek and collect as many mines as possible. The fitness function in...
Read more >bubbles, crashes, and endogenous expectations in
Fourteen of twenty-two experiments exhibit price bubbles followed by crashes relative to intrinsic dividend value. When traders are experienced this reduces ...
Read more >Neuroevolution of an Automobile Crash Warning System
this paper, a vehicle warning system is evolved to predict such crashes in the RARS driving simulator. The Neu-. roEvolution of Augmenting Topologies...
Read more >Exceptions and Error Handling, C++ FAQ
If the “use f” part of fct() throws an exception, the destructor is still invoked and the file is properly closed. This contrasts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Think I just found the culprit, turns out the default fitness is just a regular synchronous function so we shouldn’t be using
await
for itThe tests we had weren’t checking the default
self.fitness
so I’m going to make sure that we explicitly test for it and also for thenew Neat({ fitness: null })
casesAwesome catch @dan-ryan 🎆
I added a null check for
fitness
. It’s now working poorly. Again it will never increase the generation number. It never returns from this method:await self.evaluate(evolve_dataset);