-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix example.py due to LTS update #40
Conversation
I think the updates to ALPHA is 1.00. Performing an ordinary least squares fit, NOT least trimmed squares.
/Users/ldtoney/repos/lts_array/lts_array/classes/lts_classes.py:725: RuntimeWarning: invalid value encountered in sqrt
sigma_tau[jj] = np.sqrt(tau[weights, jj, :].T @ residuals / (
/Users/ldtoney/repos/lts_array/lts_array/classes/lts_classes.py:507: RuntimeWarning: invalid value encountered in cdouble_scalars
D = np.sqrt(foo + (a * b - 2 * c - a2 * a / 4) / R)
/Users/ldtoney/repos/lts_array/lts_array/classes/lts_classes.py:508: RuntimeWarning: invalid value encountered in cdouble_scalars
E = np.sqrt(foo - (a * b - 2 * c - a2 * a / 4) / R) # ... Related to NaNs? |
Whoops. I meant "warning" here. Looks good! |
I made a note on the |
Are we good to merge here? Currently if someone tries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Sorry for the delay...it dropped off my radar.
@jwbishop want to merge this into the main branch? or I can. thanks! |
Updates example to address the update to the least trimmed squares processing code.
Fixes #39.