wilsonrljr / sysidentpy

A Python Package For System Identification Using NARMAX Models
https://sysidentpy.org
BSD 3-Clause "New" or "Revised" License
393 stars 78 forks source link

Getting NAR or NARMA models is not intuitive #58

Closed wilsonrljr closed 3 years ago

wilsonrljr commented 3 years ago

Currently, to build NAR or NARMA models the user must create a input with zeros and pass it to the fit method.

Alternative

Instead of using

x_train = np.zeros_like(y_train)
model.fit(x_train, y_train)

the fit method for NAR models should be

x_train = np.zeros_like(y_train)
model.fit(y_train)