-
Notifications
You must be signed in to change notification settings - Fork 7
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
Small tau values cause failed to converge
errors
#20
Comments
happended again. tau of .16 and .26 work. .24 not. const tau = 0.24;
const time = 14.39;
const model = [4, 4, tau];
const update = ebisu.updateModel(model, 1, 1, time);
|
Thanks soooo much for reporting this and so sorry for the delay! Fixed in version 2.1.1—please try it out to confirm it works 😁 per the new unit tests, this shouldn't happen for much smaller |
getting the same error again. this time with larger tau values. on this isnt blocking me at all, just an fyi. |
@LazerJesus thanks for this even more crazy example 😂 I released v2.1.3 that gives you a backdoor to fix this: more details in #25 but ebisu.updateRecall([4, 4, 1e9], 1, 1, 1.5) // 💣❌ will throw but ebisu.updateRecall([4, 4, 1e9], 1, 1, 1.5, undefined, undefined, undefined, {tolerance: 1e-6}) // ✅✅ will now work. The default One billion hours/days halflife 🤪 |
what can i say, i know this fact reeaaallllyyyy well 😆 |
hey,
i am working on my implementation and stumbled on a minor issue.
Any tau value smaller than 0.0608 + that time cant be computed.
results in error:
its an issue in an upstream library
minimize-golden-section-1d
I THINK (dont quote me on that).anyways, no biggie for me just sending signal.
The text was updated successfully, but these errors were encountered: