-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinity/NaN output #34
Comments
@dan-ryan It looks like we're carrying a few of these over. @christianechevarria and I are a little caught up in some regular life things till Wednesday, but I'll try to squeeze out as much time as can for this one. I'm also not a fan of the |
There was an attempt in the past to fix NaNs. |
@dan-ryan I'm having a hard time replicating the The genomes that you placed, where they for the |
@luiscarbonell |
|
@luiscarbonell I've sent you an email. A simple enough example to get running and able to get NaNs and Infinities quickly. |
@dan-ryan While playing around with a logic gate demo for the repo link ran into a silent bug that could have a hand in this, turns out that architect.LSTM is spitting out NaNs, Random is failing too. This could be related to #35 as a common root cause Seems like a suite of tests for architect and a potential re-write is in order |
Added a clamp to activation functions in 71301ba that keeps Although this should solve the Infinity / NaNs issue, it will create some loss of learning ability in cases where activations really should exceed the built-in numerical limits of JS. The ideal solution would likely involve finding / implementing a big number library that would allow us to operate on numbers of arbitrary length |
An old Neataptic bug which is still bugging me.
I'm getting Infinity/NaN outputs while training. Using the latest Node.js.
My settings:
Infinity Example:
The normalised data:
[0.9354838709677419, 0.5, 0.5933786078098472, 0.5880669161907702]
The genome:
NaN Example:
The normalised data:
[0.3870967741935484, 0.75, 0.5040295048190726, 0.5575469079452833]
The genome:
wagenaartje/neataptic#130
The text was updated successfully, but these errors were encountered: