Skip to content

Commit 15c3224

Browse files
committed
make release-tag: Merge branch 'master' into stable
2 parents cc0f286 + 0a3f7c0 commit 15c3224

18 files changed

+1345
-137
lines changed

HISTORY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# History
22

3+
## 0.1.0 – 2025-10-06
4+
5+
New multivariate Prompter pipeline
6+
7+
* Update ``rolling_window_sequences`` primitives name – [Issue #48](https://github.com/sintel-dev/sigllm/issues/48) by @sarahmish
8+
* Multivariate prompter pipeline – [Issue #47](https://github.com/sintel-dev/sigllm/issues/47) by @sarahmish
9+
10+
311
## 0.0.4 – 2025-07-31
412

513
New benchmarking suite

pyproject.toml

Lines changed: 2 additions & 1 deletion
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',
@@ -113,7 +114,7 @@ namespaces = false
113114
version = {attr = 'sigllm.__version__'}
114115

115116
[tool.bumpversion]
116-
current_version = "0.0.4"
117+
current_version = "0.1.0.dev0"
117118
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
118119
serialize = [
119120
'{major}.{minor}.{patch}.{release}{candidate}',

sigllm/__init__.py

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

55
__author__ = 'MIT Data To AI Lab'
66
__email__ = '[email protected]'
7-
__version__ = '0.0.4'
7+
__version__ = '0.1.0.dev0'
88

99
import os
1010

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
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"primitives": [
3+
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate",
4+
"sklearn.impute.SimpleImputer",
5+
"sigllm.primitives.transformation.Float2Scalar",
6+
"sigllm.primitives.prompting.timeseries_preprocessing.rolling_window_sequences",
7+
"sigllm.primitives.transformation.format_as_string",
8+
"sigllm.primitives.prompting.huggingface.HF",
9+
"sigllm.primitives.prompting.anomalies.parse_anomaly_response",
10+
"sigllm.primitives.prompting.anomalies.find_anomalies_in_windows",
11+
"sigllm.primitives.prompting.anomalies.merge_anomalous_sequences",
12+
"sigllm.primitives.prompting.anomalies.format_anomalies"
13+
],
14+
"init_params": {
15+
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate#1": {
16+
"time_column": "timestamp",
17+
"interval": 21600,
18+
"method": "mean"
19+
},
20+
"sigllm.primitives.transformation.Float2Scalar#1": {
21+
"decimal": 2,
22+
"rescale": true
23+
},
24+
"sigllm.primitives.prompting.timeseries_preprocessing.rolling_window_sequences#1": {
25+
"window_size": 100,
26+
"step_size": 40
27+
},
28+
"sigllm.primitives.transformation.format_as_string#1": {
29+
"space": false
30+
},
31+
"sigllm.primitives.prompting.huggingface.HF#1": {
32+
"name": "mistralai/Mistral-7B-Instruct-v0.2",
33+
"samples": 1,
34+
"temp": 0.01
35+
},
36+
"sigllm.primitives.prompting.anomalies.parse_anomaly_response#1": {
37+
"interval": true
38+
},
39+
"sigllm.primitives.prompting.anomalies.find_anomalies_in_windows#1": {
40+
"alpha": 0.4
41+
},
42+
"sigllm.primitives.prompting.anomalies.merge_anomalous_sequences#1": {
43+
"beta": 0.5
44+
}
45+
},
46+
"input_names": {
47+
"sigllm.primitives.prompting.huggingface.HF#1": {
48+
"X": "X_str"
49+
},
50+
"sigllm.primitives.prompting.anomalies.parse_anomaly_response#1": {
51+
"X": "y_hat"
52+
}
53+
},
54+
"output_names": {
55+
"mlstars.custom.timeseries_preprocessing.time_segments_aggregate#1": {
56+
"index": "timestamp"
57+
},
58+
"sigllm.primitives.transformation.format_as_string#1": {
59+
"X": "X_str"
60+
},
61+
"sigllm.primitives.prompting.huggingface.HF#1": {
62+
"y": "y_hat"
63+
},
64+
"sigllm.primitives.prompting.anomalies.parse_anomaly_response#1": {
65+
"X": "y"
66+
}
67+
}
68+
}

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.

sigllm/primitives/jsons/sigllm.primitives.prompting.huggingface.HF.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"name": "X",
1818
"type": "ndarray"
1919
},
20+
{
21+
"name": "dim",
22+
"type": "int",
23+
"default": 1
24+
},
2025
{
2126
"name": "normal",
2227
"type": "ndarray",

0 commit comments

Comments
 (0)