File size: 2,101 Bytes
7ffe27e
d598abf
 
d2cee05
 
7ffe27e
838a940
7ffe27e
 
befb056
7ffe27e
 
d598abf
d2cee05
d598abf
d2cee05
 
 
d598abf
 
 
 
 
 
 
 
 
d2cee05
 
 
d598abf
 
 
 
d2cee05
d598abf
d2cee05
d598abf
 
d2cee05
d598abf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
838a940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: Time Series Forecasting - ERCOT Electricity Market
emoji: 
colorFrom: blue
colorTo: purple
sdk: streamlit
sdk_version: 1.52.1
app_file: app.py
pinned: false
python_version: 3.11
---

# Time Series Forecasting Application

Zero-shot time series forecasting application for **ERCOT electricity market data** using state-of-the-art pretrained models.

## Features

-**Live ERCOT Data**: Fetches real-time electricity price data from ERCOT Day-Ahead Market (180+ days)
- 🤖 **Multiple Models**: Choose from 7 pretrained forecasting models:
  - **Chronos-2** (46M - 120M parameters) - Amazon's latest models
  - **Chronos-T5** (8M - 710M parameters) - Original Chronos family
  - **TiRex** (35M parameters) - NX-AI's xLSTM-based model
- 📊 **Backtesting**: Automatic train/test split with performance metrics (MAE, RMSE, MAPE)
- 📈 **Interactive Visualization**: Historical context, actual values, and forecasts with date-based axes
- 🎯 **Zero-Shot Forecasting**: No training required - models work out-of-the-box
- 💻 **Easy-to-Use Interface**: Built with Streamlit for intuitive interaction

## Usage

1. Select a forecasting model from the dropdown
2. Choose data source (ERCOT or sample data)
3. Set the forecast horizon (number of time steps)
4. View backtesting results with error metrics and comparison plots

## Models

### Chronos-2
Amazon's latest time series foundation models offering state-of-the-art zero-shot forecasting performance.

### Chronos-T5
Original Chronos family based on T5 architecture, available in multiple sizes for different accuracy/speed tradeoffs.

### TiRex
NX-AI's xLSTM-based model optimized for both short and long-term forecasting with excellent benchmark performance.

## Data Source

- **ERCOT**: Day-Ahead Market Settlement Point Prices (SPP) from the Electric Reliability Council of Texas
- **Sample Data**: Synthetic electricity price data for testing

## Links

- [Chronos Forecasting](https://github.com/amazon-science/chronos-forecasting)
- [TiRex Model](https://huggingface.co/NX-AI/TiRex)
- [ERCOT Data](http://www.ercot.com/)