Skip to content

Commit 6e372ba

Browse files
committed
fixed ruff lint
1 parent a734556 commit 6e372ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/quick_start.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
"""Quick start example for FAIM SDK."""
2+
13
import numpy as np
2-
from faim_sdk import ForecastClient, Chronos2ForecastRequest
4+
5+
from faim_sdk import Chronos2ForecastRequest, ForecastClient
36

47
# Initialize client
58
client = ForecastClient(api_key="your-api-key")
@@ -13,7 +16,7 @@
1316
x=data,
1417
horizon=24, # Forecast 24 steps ahead
1518
output_type="quantiles",
16-
quantiles=[0.1, 0.5, 0.9] # 10th, 50th (median), 90th percentiles
19+
quantiles=[0.1, 0.5, 0.9], # 10th, 50th (median), 90th percentiles
1720
)
1821

1922
# Generate forecast - model inferred automatically from request type

0 commit comments

Comments
 (0)