-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy path__init__.py
More file actions
38 lines (31 loc) · 1.09 KB
/
Copy path__init__.py
File metadata and controls
38 lines (31 loc) · 1.09 KB
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
"""TFTS Benchmark System.
A flexible benchmarking framework for evaluating TFTS modelsacross multiple
datasets with multiple metrics and multiple runs. Designed for reproducibility
and paper-quality results.
Example::
from benchmark import BenchmarkRunner, BenchmarkConfig
from benchmark.datasets import GrocerysalesDataset, RecruitRestaurantDataset
config = BenchmarkConfig(
models=["rnn", "transformer", "dlinear"],
datasets=["grocery_sales", "recruit_restaurant"],
metrics=["mae", "rmse", "mape"],
runs=5,
output_dir="benchmark_results",
)
runner = BenchmarkRunner(config)
results = runner.run()
results.to_latex("benchmark_results.tex")
results.to_csv("benchmark_results.csv")
"""
from benchmark.base import BenchmarkConfig, Dataset
from benchmark.formatter import BenchmarkResults
from benchmark.registry import DatasetRegistry, ModelRegistry
from benchmark.runner import BenchmarkRunner
__all__ = [
"BenchmarkRunner",
"BenchmarkConfig",
"BenchmarkResults",
"Dataset",
"DatasetRegistry",
"ModelRegistry",
]