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
mytest.py", line 9, in <module>
results = breakpoint(X, nile)
^^^^^^^^^^^^^^^^^^^
\pybreakpoints\baiperron.py", line 76, in breakpoint
ssr = recresid(X_[i:n, :], y_[i:n])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
\pybreakpoints\recresid_.py", line 134, in recresid
rresid = _recresid(_X, _y, span)[span:]
^^^^^^^^^^^^^^^^^^^^^^^
\Python312\Lib\site-packages\numba\np\linalg.py", line 899, in _inv_err_handler
raise np.linalg.LinAlgError(
numpy.linalg.LinAlgError: Matrix is singular to machine precision.
Since it is the data from the repo the test should at least be able to run. I suspect this is just data format problem but I'm new to python and not sure how to debug.
The text was updated successfully, but these errors were encountered:
My python version is 3.12.2
The code I wrote is similar to their test.
But I got errors.
Since it is the data from the repo the test should at least be able to run. I suspect this is just data format problem but I'm new to python and not sure how to debug.
The text was updated successfully, but these errors were encountered: