"매 historical data 로 future outcomes 예측 — regression, classification, time series 의 union". 1990s statistics 에서 출발해 2010s ML 으로 mainstream, 2026 currently transformer-based forecasting (TimesFM, Chronos) 이 tabular 와 sequence 에서 공존. Business intelligence, supply chain, churn, fraud 의 매 backbone.
Time series with TimesFM (foundation model, zero-shot)
importtimesfmtfm=timesfm.TimesFm(hparams=timesfm.TimesFmHparams(backend="gpu",per_core_batch_size=32),checkpoint=timesfm.TimesFmCheckpoint(huggingface_repo_id="google/timesfm-2.0-500m"),)forecast,_=tfm.forecast(inputs=[history_series],# list of np.arrayfreq=[0],# 0=high freq, 1=med, 2=lowhorizon_len=96,)
Prophet (interpretable seasonality)
fromprophetimportProphetm=Prophet(yearly_seasonality=True,weekly_seasonality=True,changepoint_prior_scale=0.05)m.add_country_holidays(country_name="US")m.fit(df)# df with ds, y columnsfuture=m.make_future_dataframe(periods=90)fcst=m.predict(future)# yhat, yhat_lower, yhat_upper
fromsklearn.calibrationimportCalibratedClassifierCVcalibrated=CalibratedClassifierCV(base_model,method="isotonic",cv="prefit")calibrated.fit(X_va,y_va)# Brier score + reliability diagram on test