-
Notifications
You must be signed in to change notification settings - Fork 35
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
Combine fireTS library with neupy library for NARX network based on Levenberg Marquardt #13
Comments
This seems to be the issue of neupy. batch_size was not set to 0 by default in neupy's fit method causing the division by zero issue. After setting batch_size, Line 133 in 3d1abb0
I would suggest figure out how neupy with LM method works, then try integrate it with fireTS. |
Thanks for answer my question. And here is the code I tried:
But I have this error:
I tried to delete the params exog_order, exog_delay, but NARX expected them. |
The error shows your model_wrapper does not implement the sklearn BaseEstimator interface (hence no method called 'set_params'). Your model_wrapper is based on Keras API, which is not supported by fireTS. To make it work, you want to wrap your model_wrapper again with the sklearn BaseEstimator API. |
Hi.
I want to create a NARX (Nonlinear Autoregressive with exogenous variables) model based on LM (Levenberg Marquardt) method.
Since this two method are not implemented in keras, I search for the library fireTs (for NARX) and neupy (for LM).
I'm using the sample code for both libraries:
fireTS (NARX): fireTS
neupy (LM): Neupy
and I combine them:
But I'm having this error in .fit method:
Any solution?
The text was updated successfully, but these errors were encountered: