You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using the altair package (version 5.2.0), and the linear regression transform seems numerically unstable for large x values. The regression line fits the data poorly.
I was using a datetime x-axis. The number of epoch seconds since 1970 is 1,709,023,537 (milliseconds 1000x higher), so the x-values can be very large.
I was using the
altair
package (version5.2.0
), and the linear regression transform seems numerically unstable for large x values. The regression line fits the data poorly.I was using a datetime x-axis. The number of epoch seconds since 1970 is 1,709,023,537 (milliseconds 1000x higher), so the x-values can be very large.
Related Issues
Minimal Example
In altair I used the following code (based on the example in https://altair-viz.github.io/user_guide/transform/regression.html):
This code generated the generated the following chart:
The chart has a vega-lite JSON representation of:
The text was updated successfully, but these errors were encountered: