def fbprophet_exogenous(y: Y_TYPE, s: dict, k: int, a: A_TYPE = None, t: T_TYPE = None, e: E_TYPE = None): """ Uses known-in-advance and also y[1:] brought forward """ return fbprophet_skater_factory(y=y, s=s, k=k, a=a, t=t, e=e)
def fbprophet_known(y: Y_TYPE, s: dict, k: int, a: A_TYPE = None, t: T_TYPE = None, e: E_TYPE = None): """ Uses known-in-advance but not y[1:] """ y0 = [wrap(y)[0]] return fbprophet_skater_factory(y=y0, s=s, k=k, a=a, t=t, e=e)
def fbprophet_univariate(y: Y_TYPE, s: dict, k: int, a: A_TYPE = None, t: T_TYPE = None, e: E_TYPE = None): """ Simple univariate prediction using only y[0], and not 'a' or y[1:] """ y0 = [wrap(y)[0]] return fbprophet_skater_factory(y=y0, s=s, k=k, a=None, t=t, e=e)
def fbprophet_recursive(y: Y_TYPE, s: dict, k: int, a: A_TYPE = None, t: T_TYPE = None, e: E_TYPE = None): """ Same as exogenous, but uses prophet to predict y[1:] """ return fbprophet_skater_factory(y=y, s=s, k=k, a=a, t=t, e=e, recursive=True)