TS Plot

In [3]:
from verticapy.learn.tsa import SARIMAX
model = SARIMAX(name = "SARIMAX_amazon",
                s = 12,
                P = 5)
model.drop()
model.fit(input_relation = "amazon_clean", 
          y = "number",
          ts = "date")
model.plot(nlead = 100,
           nlast = 30,
           dynamic = True,)
Out[3]:
<AxesSubplot:title={'center':'SARIMAX(0,0,0)(5,0,0)_12'}, xlabel='"date"'>