Hi Again!
Sorry for the debugging question; thus far my code compiles fine-but when i move to the prediction step however i’ve encountered an error i’m not super familiar with:
TypingError: Failed in nopython mode pipeline (step: nopython frontend)
- Resolution failure for literal arguments:
reshape() supports contiguous array only
- Resolution failure for non-literal arguments:
None
During: resolving callee type: BoundFunction(array.reshape for array(float64, 3d, A))
During: typing of call at C:\Users\broth\Forecasting_Scorecard\VAR_to_statespace.py (10)
File "VAR_to_statespace.py", line 10:
def make_statespace(coefs, intercepts):
<source elided>
T = np.zeros((n_states, n_states))
T[:n_obs, :] = coefs.reshape(n_obs, n_states)
^
During: resolving callee type: type(CPUDispatcher(<function make_statespace at 0x00000259600191C0>))
During: typing of call at C:\Users\broth\Forecasting_Scorecard\VAR_to_statespace.py (79)
During: resolving callee type: type(CPUDispatcher(<function make_statespace at 0x00000259600191C0>))
During: typing of call at C:\Users\broth\Forecasting_Scorecard\VAR_to_statespace.py (79)
I haven’t used numba much at all-so I’m a bit at a lost for how i should perceive
I don’t think my data is an issue…my domain is R