docstr: Automatically build an ARIMA Model
docstr_tok: ["Automatically","build","an","ARIMA","Model"]
code: def __init__(
      self,
      metric="aic",
      p_max=3,
      d_max=1,
      q_max=3,
      forecast_period=2,
      method="mle",
      verbose=0,
  ):
      """
      Automatically build an ARIMA Model
      """
      self.metric = metric
      self.p_max = p_max
      self.d_max = d_max
      self.q_max = q_max
      self.forecast_period = forecast_period
      self.method = method
      self.verbose = verbose
      self.model = None
  
file_path: Auto_TS/auto_ts/models/ar_based/build_arima.py
imports: from typing import Optional
  import warnings
  import itertools
  import operator
  import copy
  import numpy
  import pandas
  from pandas.core.generic import NDFrame
  import matplotlib.pyplot
  import seaborn
  from statsmodels.tsa.arima_model import ARIMA
  from ...utils import print_static_rmse, print_dynamic_rmse
  from ...models.ar_based.param_finder import find_lowest_pq
  import pdb
label_desc: Use image node_id 1 to create a new BuildArima object  with example: obj = BuildArima(metric, p_max, d_max, q_max, forecast_period, method, verbose)