Skip to content

Commit 9ea63f1

Browse files
authored
Change primitive name (#49)
* clean up * add ml-stars to dep
1 parent 1d4e257 commit 9ea63f1

File tree

7 files changed

+7
-128
lines changed

7 files changed

+7
-128
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ dependencies = [
2222
'pandas>=1.0.0,<2',
2323
'scikit-learn>=0.22.1,<2',
2424
'orion-ml>=0.6,<0.8',
25+
'ml-stars>=0.2.1,<0.4',
2526
'openai>=1.46.0',
2627
'tiktoken>=0.7.0',
2728
'transformers>=4.44.2',

sigllm/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
INTERVAL_PRIMITIVE = 'mlstars.custom.timeseries_preprocessing.time_segments_aggregate#1'
1818
DECIMAL_PRIMITIVE = 'sigllm.primitives.transformation.Float2Scalar#1'
19-
WINDOW_SIZE_PRIMITIVE = 'sigllm.primitives.forecasting.custom.rolling_window_sequences#1'
19+
WINDOW_SIZE_PRIMITIVE = 'mlstars.custom.timeseries_preprocessing.rolling_window_sequences#1'
2020

2121

2222
class SigLLM(Orion):

sigllm/pipelines/detector/gpt_detector.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate",
44
"sklearn.impute.SimpleImputer",
55
"sigllm.primitives.transformation.Float2Scalar",
6-
"sigllm.primitives.forecasting.custom.rolling_window_sequences",
6+
"mlstars.custom.timeseries_preprocessing.rolling_window_sequences",
77
"sigllm.primitives.transformation.format_as_string",
88
"sigllm.primitives.forecasting.gpt.GPT",
99
"sigllm.primitives.transformation.format_as_integer",
@@ -23,7 +23,7 @@
2323
"decimal": 2,
2424
"rescale": true
2525
},
26-
"sigllm.primitives.forecasting.custom.rolling_window_sequences#1": {
26+
"mlstars.custom.timeseries_preprocessing.rolling_window_sequences#1": {
2727
"target_column": 0,
2828
"window_size": 140,
2929
"target_size": 1

sigllm/pipelines/detector/mistral_detector.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate",
44
"sklearn.impute.SimpleImputer",
55
"sigllm.primitives.transformation.Float2Scalar",
6-
"sigllm.primitives.forecasting.custom.rolling_window_sequences",
6+
"mlstars.custom.timeseries_preprocessing.rolling_window_sequences",
77
"sigllm.primitives.transformation.format_as_string",
88
"sigllm.primitives.forecasting.huggingface.HF",
99
"sigllm.primitives.transformation.format_as_integer",
@@ -23,7 +23,7 @@
2323
"decimal": 2,
2424
"rescale": true
2525
},
26-
"sigllm.primitives.forecasting.custom.rolling_window_sequences#1": {
26+
"mlstars.custom.timeseries_preprocessing.rolling_window_sequences#1": {
2727
"target_column": 0,
2828
"window_size": 140,
2929
"target_size": 1

sigllm/primitives/forecasting/custom.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

sigllm/primitives/jsons/sigllm.primitives.forecasting.custom.rolling_window_sequences.json

Lines changed: 0 additions & 69 deletions
This file was deleted.

tutorials/pipelines/detector-pipeline.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
"['mlstars.custom.timeseries_preprocessing.time_segments_aggregate',\n",
191191
" 'sklearn.impute.SimpleImputer',\n",
192192
" 'sigllm.primitives.transformation.Float2Scalar',\n",
193-
" 'sigllm.primitives.forecasting.custom.rolling_window_sequences',\n",
193+
" 'mlstars.custom.timeseries_preprocessing.rolling_window_sequences',\n",
194194
" 'sigllm.primitives.transformation.format_as_string',\n",
195195
" 'sigllm.primitives.forecasting.huggingface.HF',\n",
196196
" 'sigllm.primitives.transformation.format_as_integer',\n",

0 commit comments

Comments
 (0)