Skip to content

Commit 95f2472

Browse files
authored
v0.0.10 (#69)
2 parents e9a5592 + b31bdb4 commit 95f2472

File tree

9 files changed

+82
-6
lines changed

9 files changed

+82
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: uv run pytest
3535

3636
- name: Test import class
37-
run: uv run -- python -c "from timecopilot import TimeCopilot"
37+
run: uv run -- python -c "from timecopilot import TimeCopilot, TimeCopilotForecaster"
3838

3939
test-live:
4040
name: test live

docs/changelogs/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
Welcome to the TimeCopilot Changelog. Here, you will find a comprehensive list of all the changes, updates, and improvements made to the TimeCopilot project. This section is designed to keep you informed about the latest features, bug fixes, and enhancements as we continue to develop and refine the TimeCopilot experience. Stay tuned for regular updates and feel free to explore the details of each release below.
4+
5+
6+
- [v0.0.10](v0.0.10.md)

docs/changelogs/v0.0.10.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
### Features
3+
* **TimeCopilotForecaster Class**: Introduced the `TimeCopilotForecaster` class to enhance forecasting capabilities. See [#48](https://github.com/AzulGarza/timecopilot/pull/48).
4+
- **Example**:
5+
```python
6+
import pandas as pd
7+
8+
from timecopilot import TimeCopilotForecaster
9+
from timecopilot.models.benchmarks import SeasonalNaive
10+
from timecopilot.models.foundational import TimesFM
11+
12+
df = pd.read_csv("data/algeria_exports.csv", parse_dates=["ds"])
13+
forecaster = TimeCopilotForecaster(models=[TimesFM(), SeasonalNaive()])
14+
fcsts_df = forecaster.forecast(df=df, h=12, freq="MS")
15+
```
16+
17+
* **Probabilistic Forecasts**: Added support for probabilistic forecasts in the forecaster class. See [#50](https://github.com/AzulGarza/timecopilot/pull/50).
18+
- **Example**:
19+
```python
20+
import pandas as pd
21+
22+
from timecopilot import TimeCopilotForecaster
23+
from timecopilot.models.benchmarks import SeasonalNaive, Prophet
24+
from timecopilot.models.foundational import TimesFM
25+
26+
df = pd.read_csv("data/algeria_exports.csv", parse_dates=["ds"])
27+
forecaster = TimeCopilotForecaster(models=[TimesFM(), SeasonalNaive()])
28+
fcsts_df_level = forecaster.forecast(
29+
df=df,
30+
h=12,
31+
freq="MS",
32+
level=[80, 90],
33+
)
34+
fcsts_df_quantiles = forecaster.forecast(
35+
df=df,
36+
h=12,
37+
freq="MS",
38+
quantiles=[0.1, 0.9],
39+
)
40+
```
41+
42+
* **Integration with External Libraries**:
43+
- **timesfm**: Added Google's foundation model [TimesFM](https://github.com/google-research/timesfm). See [#55](https://github.com/AzulGarza/timecopilot/pull/55).
44+
- **chronos**: Added AWS AI Labs's foundation model [Chronos](https://arxiv.org/abs/2403.07815). See [#59](https://github.com/AzulGarza/timecopilot/pull/59).
45+
- **Prophet**: Added Facebook's [Prophet](https://facebook.github.io/prophet/) to available models. See [#61](https://github.com/AzulGarza/timecopilot/pull/61).
46+
47+
48+
* **Multi-series Support**: Enhanced the agent to handle multiple time series. See [#64](https://github.com/AzulGarza/timecopilot/pull/64).
49+
- **Example**:
50+
```python
51+
from timecopilot import TimeCopilot
52+
53+
tc = TimeCopilot()
54+
# now the forecast method can handle multiple time series
55+
tc.forecast(...)
56+
```
57+
58+
* **Agent Integration**: Utilized the TimeCopilotForecaster class within the agent. See [#65](https://github.com/AzulGarza/timecopilot/pull/65).
59+
60+
### Tests
61+
* **Basic Functionality Tests**: Added tests for basic functionality to ensure reliability. See [#43](https://github.com/AzulGarza/timecopilot/pull/43).
62+
63+
### Fixes
64+
* **CI Improvements**: Implemented a fix to cancel concurrent CI runs, optimizing the CI process. See [#63](https://github.com/AzulGarza/timecopilot/pull/63).

docs/roadmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TimeCopilot is under active development with a clear roadmap ahead.
1+
TimeCopilot is under active development with a clear roadmap ahead. Please visit our [issue tracker](https://github.com/AzulGarza/timecopilot/issues) on GitHub to stay updated on the latest features, report issues, and contribute to the project.
22

33
### Core Features in Progress
44

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ nav:
2323
- API Reference:
2424
- api/agent.md
2525
- models/utils/forecaster.md
26+
- Changelogs:
27+
- changelogs/index.md
28+
- changelogs/v0.0.10.md
2629

2730
theme:
2831
name: "material"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "timecopilot"
7-
version = "0.0.9"
7+
version = "0.0.10"
88
requires-python = ">=3.10"
99
description = "The GenAI Forecasting Agent · LLMs × Foundation Time Series Models"
1010
authors = [

timecopilot/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from .agent import TimeCopilot
2+
from .forecaster import TimeCopilotForecaster
23

3-
__all__ = ["TimeCopilot"]
4+
__all__ = ["TimeCopilot", "TimeCopilotForecaster"]

timecopilot/models/benchmarks/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from .prophet import Prophet
12
from .stats import (
23
ADIDA,
34
IMAPA,
@@ -20,6 +21,7 @@
2021
"CrostonClassic",
2122
"DOTheta",
2223
"HistoricAverage",
24+
"Prophet",
2325
"IMAPA",
2426
"SeasonalNaive",
2527
"Theta",

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)