maxNodes/maxConns doesn't seem to always work
See original GitHub issueThis is an old Neataptic bug that is still happening. “maxNodes” and “maxConns” don’t seem to always work. After a while, they will increase over the maximum.
My settings:
Methods.mutation.MOD_ACTIVATION.mutateOutput = false;
Methods.mutation.MOD_ACTIVATION.allowed = [
Methods.activation.LOGISTIC,
Methods.activation.TANH,
Methods.activation.STEP,
Methods.activation.SOFTSIGN,
Methods.activation.SINUSOID,
Methods.activation.GAUSSIAN,
Methods.activation.BIPOLAR,
Methods.activation.BIPOLAR_SIGMOID,
Methods.activation.HARD_TANH,
Methods.activation.INVERSE,
Methods.activation.SELU,
Methods.activation.RELU,
Methods.activation.BENT_IDENTITY,
Methods.activation.IDENTITY,
];
neat = new Neat(4, 1, null,
{
mutation: Methods.mutation.ALL,
popsize: 100,
mutationRate: 0.2,
elitism: 10,
equal: true,
network: new Architect.Random(4, 5, 1),
provenance: 2,
maxNodes: 7,
maxConns: 10,
maxGates: 5,
}
);
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No results found
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
Great. I’ll jump back into my project and test it once https://github.com/liquidcarrot/carrot/issues/115 is fixed.
Hey @dan-ryan! Just added some updates that I hope will be solving this bug, let me know if things are working better on your end now