Skip to content

Commit 9bc8a5a

Browse files
committed
add pyproject
1 parent 3b3eb33 commit 9bc8a5a

File tree

5 files changed

+73
-4
lines changed

5 files changed

+73
-4
lines changed

config/config_hydra.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hydra :
55
dir : exps/${hydra.job.name}
66

77
output_dir: './' # output directory
8-
dataset : "ERing" # dataset name to load from aeon
8+
dataset : "GunPoint" # dataset name to load from aeon
99
split: Null # either use train/test or both splits
1010
znormalize: True # znormalize each time series channel independent
1111

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import hydra
55
from omegaconf import DictConfig, OmegaConf
66

7-
from utils import create_directory, load_data
8-
from draw_functions import draw_elastic, draw_elastic_gif
7+
from src.utils import create_directory, load_data
8+
from src.draw_functions import draw_elastic, draw_elastic_gif
99

1010

1111
@hydra.main(config_name="config_hydra.yaml", config_path="config")

pyproject.toml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[build-system]
2+
requires = ["setuptools>61", "wheel", "toml", "build"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "elastic-warping-visualization"
7+
version = "0.0.1"
8+
description = " Visualization of Elastic Warping of Time Series Data "
9+
authors = [
10+
{name = "Ali Ismail-Fawaz", email = "[email protected]"},
11+
{name = "Maxime Devanne", email = "[email protected]"},
12+
{name = "Stefano Berretti", email = "[email protected]"},
13+
{name = "Jonathan Weber", email = "[email protected]"},
14+
{name = "Germain Forestier", email = "[email protected]"}
15+
]
16+
maintainers = [
17+
{name = "Ali Ismail-Fawaz", email = "[email protected]"}
18+
]
19+
requires-python = ">=3.10"
20+
license = {text = "GPL-3.0-only"}
21+
22+
keywords = [
23+
"data-science",
24+
"machine-learning",
25+
"data-mining",
26+
"time-series",
27+
"dynamic-time-warping",
28+
"elastic-similarity-measures",
29+
"elastic-distances",
30+
"time-series-analysis",
31+
"time-series-classification",
32+
"time-series-regression",
33+
"time-series-machine-learning",
34+
"data-visualization"
35+
]
36+
37+
classifiers = [
38+
"Development Status :: 4 - Beta",
39+
"Intended Audience :: Developers",
40+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
41+
"Programming Language :: Python :: 3",
42+
"Programming Language :: Python :: 3.10",
43+
"Programming Language :: Python :: 3.11",
44+
"Programming Language :: Python :: 3.12"
45+
]
46+
47+
dependencies = [
48+
"numpy==1.26.4",
49+
"aeon==0.10.0",
50+
"hydra-core==1.3.2",
51+
"omegaconf==2.3.0",
52+
"matplotlib==3.9.0"
53+
]
54+
55+
[project.optional-dependencies]
56+
dev = [
57+
"black",
58+
"flake8",
59+
"mypy",
60+
"pytest",
61+
"pytest-cov",
62+
"pytest-xdist",
63+
"pytest-timeout",
64+
"pytest-rerunfailures",
65+
"pre-commit"
66+
]
67+
68+
[tool.setuptools]
69+
packages = ["src"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from aeon.distances import cost_matrix
1414
from aeon.distances._alignment_paths import compute_min_return_path
1515

16-
from utils import alignment_path_to_plot
16+
from src.utils import alignment_path_to_plot
1717

1818

1919
def draw_elastic(
File renamed without changes.

0 commit comments

Comments
 (0)