vertica / VerticaPy

VerticaPy is a Python library that exposes sci-kit like functionality to conduct data science projects on data stored in Vertica, thus taking advantage Vertica’s speed and built-in analytics and machine learning capabilities.
https://www.vertica.com/python/
Apache License 2.0
219 stars 45 forks source link

ARIMA order issue - d should always be less than 1 #835

Closed VerticaDataScientist closed 1 year ago

VerticaDataScientist commented 1 year ago

For ARIMA model it doesn't accept d greater than 0

This code:

from verticapy.machine_learning.vertica.tsa import ARIMA, AR, ARMA, MA
model = ARIMA(name='arima',order = (2,1,2))
model.drop()
model.fit(input_relation=vdf,ts = 'Time',y='Value', test_relation=vdf_test)
pred = model.predict(vdf=vdf_test,ts='Time', y='Value')

gives this error: d

oualib commented 1 year ago

This is because you have the wrong Vertica version. ARIMA is available since 23.4