tabpfn-time-series 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tabpfn_time_series/__init__.py +7 -8
- tabpfn_time_series/data_preparation.py +1 -1
- tabpfn_time_series/features/feature_transformer.py +1 -1
- tabpfn_time_series/plot.py +1 -1
- tabpfn_time_series/predictor.py +1 -2
- tabpfn_time_series/tabpfn_worker.py +1 -1
- tabpfn_time_series/ts_dataframe.py +1232 -0
- {tabpfn_time_series-1.0.1.dist-info → tabpfn_time_series-1.0.2.dist-info}/METADATA +4 -3
- tabpfn_time_series-1.0.2.dist-info/RECORD +16 -0
- tabpfn_time_series-1.0.1.dist-info/RECORD +0 -15
- {tabpfn_time_series-1.0.1.dist-info → tabpfn_time_series-1.0.2.dist-info}/WHEEL +0 -0
- {tabpfn_time_series-1.0.1.dist-info → tabpfn_time_series-1.0.2.dist-info}/licenses/LICENSE.txt +0 -0
tabpfn_time_series/__init__.py
CHANGED
@@ -1,21 +1,20 @@
|
|
1
|
-
from
|
1
|
+
from importlib import metadata
|
2
2
|
|
3
3
|
try:
|
4
|
-
|
5
|
-
except
|
6
|
-
|
7
|
-
|
8
|
-
with (Path(__file__).parent.parent / "pyproject.toml").open("rb") as f:
|
9
|
-
__version__ = tomllib.load(f)["project"]["version"]
|
10
|
-
|
4
|
+
__version__ = metadata.version("tabpfn-time-series")
|
5
|
+
except metadata.PackageNotFoundError:
|
6
|
+
# package is not installed from PyPI (e.g. from source)
|
7
|
+
__version__ = "0.0.0"
|
11
8
|
|
12
9
|
from .features import FeatureTransformer
|
13
10
|
from .predictor import TabPFNTimeSeriesPredictor, TabPFNMode
|
14
11
|
from .defaults import TABPFN_TS_DEFAULT_QUANTILE_CONFIG
|
12
|
+
from .ts_dataframe import TimeSeriesDataFrame
|
15
13
|
|
16
14
|
__all__ = [
|
17
15
|
"FeatureTransformer",
|
18
16
|
"TabPFNTimeSeriesPredictor",
|
19
17
|
"TabPFNMode",
|
20
18
|
"TABPFN_TS_DEFAULT_QUANTILE_CONFIG",
|
19
|
+
"TimeSeriesDataFrame",
|
21
20
|
]
|
@@ -2,7 +2,7 @@ from typing import List, Tuple
|
|
2
2
|
|
3
3
|
import pandas as pd
|
4
4
|
|
5
|
-
from
|
5
|
+
from tabpfn_time_series.ts_dataframe import TimeSeriesDataFrame
|
6
6
|
from tabpfn_time_series.features.feature_generator_base import (
|
7
7
|
FeatureGenerator,
|
8
8
|
)
|
tabpfn_time_series/plot.py
CHANGED
@@ -2,7 +2,7 @@ import numpy as np
|
|
2
2
|
import pandas as pd
|
3
3
|
import matplotlib.pyplot as plt
|
4
4
|
|
5
|
-
from
|
5
|
+
from tabpfn_time_series.ts_dataframe import TimeSeriesDataFrame
|
6
6
|
|
7
7
|
|
8
8
|
def is_subset(tsdf_A: TimeSeriesDataFrame, tsdf_B: TimeSeriesDataFrame) -> bool:
|
tabpfn_time_series/predictor.py
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import logging
|
2
2
|
from enum import Enum
|
3
3
|
|
4
|
-
from
|
5
|
-
|
4
|
+
from tabpfn_time_series.ts_dataframe import TimeSeriesDataFrame
|
6
5
|
from tabpfn_time_series.tabpfn_worker import TabPFNClient, LocalTabPFN, MockTabPFN
|
7
6
|
from tabpfn_time_series.defaults import TABPFN_TS_DEFAULT_CONFIG
|
8
7
|
|
@@ -7,8 +7,8 @@ import pandas as pd
|
|
7
7
|
import numpy as np
|
8
8
|
import torch
|
9
9
|
from scipy.stats import norm
|
10
|
-
from autogluon.timeseries import TimeSeriesDataFrame
|
11
10
|
|
11
|
+
from tabpfn_time_series.ts_dataframe import TimeSeriesDataFrame
|
12
12
|
from tabpfn_time_series.data_preparation import split_time_series_to_X_y
|
13
13
|
from tabpfn_time_series.defaults import TABPFN_TS_DEFAULT_QUANTILE_CONFIG
|
14
14
|
|