Skip to content

Commit 7cd8bbd

Browse files
authored
UniTS pipeline (#581)
* UniTS pipeline * S-1 result * S-1 result * fix map_location * remove matplotlib * remove packages * remove matplotlib * incorporated comments * syntax changes * fix line breaks * load_path fixed
1 parent 47c1353 commit 7cd8bbd

File tree

5 files changed

+1676
-0
lines changed

5 files changed

+1676
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"primitives": [
3+
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate",
4+
"sklearn.impute.SimpleImputer",
5+
"sklearn.preprocessing.StandardScaler",
6+
"orion.primitives.units.UniTS",
7+
"orion.primitives.timeseries_errors.regression_errors",
8+
"orion.primitives.timeseries_anomalies.find_anomalies"
9+
],
10+
"init_params": {
11+
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate#1": {
12+
"time_column": "timestamp",
13+
"interval": 21600,
14+
"method": "mean"
15+
}
16+
},
17+
"output_names": {
18+
"orion.primitives.timeseries_anomalies.find_anomalies#1": {
19+
"y": "anomalies"
20+
}
21+
}
22+
}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"name": "orion.primitives.units.UniTS",
3+
"contributors": [
4+
"Linh Nguyen <[email protected]>"
5+
],
6+
"documentation": "https://arxiv.org/abs/2403.00131",
7+
"description": "UniTS for timeseries forecasting",
8+
"classifiers": {
9+
"type": "estimator",
10+
"subtype": "regressor"
11+
},
12+
"modalities": [],
13+
"primitive": "orion.primitives.units.UniTS",
14+
"produce": {
15+
"method": "predict",
16+
"args": [
17+
{
18+
"name": "X",
19+
"type": "ndarray"
20+
},
21+
{
22+
"name": "index",
23+
"type": "ndarray"
24+
}
25+
],
26+
"output": [
27+
{
28+
"name": "y_hat",
29+
"type": "ndarray"
30+
},
31+
{
32+
"name": "y",
33+
"type": "ndarray"
34+
},
35+
{
36+
"name": "index",
37+
"type": "ndarray"
38+
}
39+
]
40+
},
41+
"hyperparameters": {
42+
"fixed": {
43+
"window_size": {
44+
"type": "int",
45+
"default": 250
46+
},
47+
"pred_len": {
48+
"type": "int",
49+
"default": 1
50+
},
51+
"prompt_num": {
52+
"type": "int",
53+
"default": 10
54+
},
55+
"d_model": {
56+
"type": "int",
57+
"default": 64
58+
},
59+
"patch_len": {
60+
"type": "int",
61+
"default": 1
62+
},
63+
"step": {
64+
"type": "int",
65+
"default": 1
66+
},
67+
"dropout": {
68+
"type": "float",
69+
"default": 0.1
70+
},
71+
"e_layers": {
72+
"type": "int",
73+
"default": 3
74+
},
75+
"n_heads": {
76+
"type": "int",
77+
"default": 8
78+
},
79+
"load_path": {
80+
"type": "str",
81+
"default": null
82+
}
83+
}
84+
}
85+
}

0 commit comments

Comments
 (0)