docstr: Base class for building any ARIMA model
  Definitely applicable to SARIMAX and auto_arima with seasonality
  Check later if same can be reused for ARIMA (most likely yes)
docstr_tok: ["Base","class","for","building","any","ARIMA","model","Definitely","applicable","to","SARIMAX","and","auto_arima","with","seasonality","Check","later","if","same","can","be","reused","for","ARIMA","(","most","likely","yes",")"]
code: def __init__(
      self,
      scoring,
      seasonality=False,
      seasonal_period=None,
      p_max=12,
      d_max=2,
      q_max=12,
      forecast_period=5,
      verbose=0,
  ):
      """
      Base class for building any ARIMA model
      Definitely applicable to SARIMAX and auto_arima with seasonality
      Check later if same can be reused for ARIMA (most likely yes)
      """
      super().__init__(
          scoring=scoring,
          forecast_period=forecast_period,
          verbose=verbose,
      )
  
      self.seasonality = seasonality
      self.seasonal_period = seasonal_period
      self.p_max = p_max
      self.d_max = d_max
      self.q_max = q_max
  
      self.best_p = None
      self.best_d = None
      self.best_q = None
      self.best_P = None
      self.best_D = None
      self.best_Q = None
  
imports: from typing import Optional
  import warnings
  from abc import abstractmethod
  import copy
  import pdb
  import numpy
  import pandas
  from pandas.core.generic import NDFrame
  import dask
  import dask.dataframe
  import matplotlib.pyplot
  from sklearn.model_selection import TimeSeriesSplit
  from statsmodels.tsa.statespace.sarimax import SARIMAX
  from ..build_base import BuildBase
  from ...utils import colorful, print_static_rmse, print_dynamic_rmse, print_ts_model_stats
  from ...models.ar_based.param_finder import find_best_pdq_or_PDQ
label_desc: Use image node_id 1 to create a new BuildArimaBase object from inherited base classes: BuildBase with example: obj = BuildArimaBase(scoring, seasonality, seasonal_period, p_max, d_max, q_max, forecast_period, verbose)