-
Notifications
You must be signed in to change notification settings - Fork 14
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 for NARX network with Levenberg Marquardt #5
Comments
Hi, I think that the NARX base_estimator is not intended to be a keras model. Do you have any working code that use standard keras fit function? |
Hi. |
I was not able to find any open source keras implementation of NARX. If you want to use the LM training algorithm that I implemented I think you need to implement your own version of NARX using tensorflow keras api. Or in alternative you can try other model architectures that are already implemented in tensorflow (RNN / CNN). |
Hi. I have found this: https://stackoverflow.com/questions/53087669/narx-implementation-using-keras I made some changes to the last version of tf and keras. I comine with your implementation. And it looks like this:
And it gives me this dimension error:
I think we're getting close. I'm sorry if I'm being too annoying. |
In the above code you created a Narx class instance (which has never been used) and then you replaced it with a feedforward neural network with wrong input shape.
The code that you provided is just a feedforward neural network where the input data are organized to form a NARX model. |
Thank you so much for helping me.
I have never work with NARX, so I don't really know how to implement it, just searching code or libreries. I don't know how to specify that autoregressive output. |
Hi.
I want to create a NARX (Nonlinear Autoregressive with exogenous variables) model based on LM (Levenberg Marquardt) method.
Since this two methods are not implemented in keras, I search for the library fireTs https://pypi.org/project/fireTS/ (for NARX) and your implementation of LM and I'm trying to combine them. This is the code:
And I'm having this error:
Any solution?
The text was updated successfully, but these errors were encountered: