Skip to content
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

Returned fit causes overflow error #48

Open
mayork opened this issue Aug 17, 2016 · 1 comment
Open

Returned fit causes overflow error #48

mayork opened this issue Aug 17, 2016 · 1 comment
Labels

Comments

@mayork
Copy link

mayork commented Aug 17, 2016

Again, when trying to fit the compressor maps, I've gotten a number of returned fits with very large exponents. Sometimes, when these are plotted outside of log space, overflow errors occur. I'm not sure this can be avoided, and I don't think the data I'm using is too well conditioned, but it would be nice if there was someway to control how large the exponents were in the fit.

'''
w0.231 = 0.00187 * (u_1)-302 * (u_2)58.2
+ 3.75e-12 * (u_1)
-2.67e+03 * (u_2)496
+ 0.326 * (u_1)
-7.81 * (u_2)**0.962
+ 0.465 * (u_1)1.97 * (u_2)-0.525
'''

@whoburg
Copy link
Collaborator

whoburg commented Aug 24, 2016

Yes! It's called regularization, and we should implement it as an option.

L2 regularization is trivial to implement. L1 requires more work, but is likely worth it for the better (sparsity inducing) performance. We should implement both.

@pgkirsch pgkirsch added the error label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants