Editing
AI for Time Series and Forecasting
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Creating</span> == Designing a production time series forecasting system: '''1. Data architecture''' <syntaxhighlight lang="text"> Raw time series sources (databases, IoT, APIs) β [Time-indexed storage: InfluxDB, TimescaleDB, or Parquet partitioned by date] β [Feature engineering pipeline:] β βββ Temporal features: hour, day of week, month, quarter β βββ Lag features: lag-1, lag-7, lag-28, rolling mean/std β βββ Fourier features for seasonality β βββ External covariates: weather, holidays, promotions β [Stationarity tests + differencing if needed] β [Train/val/test split: chronological] </syntaxhighlight> '''2. Model training and selection''' <syntaxhighlight lang="text"> Train multiple models (baseline naive, SARIMA, TFT, foundation model) β Evaluate each with rolling window backtesting β Select winner by held-out test MAPE and CRPS β Train ensemble: weighted average of top-3 models (often beats any single model) β Register in model registry with evaluation metrics </syntaxhighlight> '''3. Production serving and retraining''' * Serve forecasts via API with caching (same-day forecast is rarely regenerated) * Nightly retrain on latest data window (rolling retrain strategy) * Monitor forecast accuracy vs. actuals in real-time; alert on anomalies * Detect distribution shift: plot forecast distribution vs. actuals weekly * Trigger manual review when MAE exceeds historical 95th percentile [[Category:Artificial Intelligence]] [[Category:Machine Learning]] [[Category:Time Series]] </div>
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information