Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sol pipelines #387

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions orion/pipelines/sandbox/SOL/diff_OMNI_SDM_3_11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"primitives": [
"orion.primitives.timeseries_postprocessing.extract_dimension",
"orion.primitives.timeseries_postprocessing.diff_thresh",
"orion.primitives.timeseries_postprocessing.get_intervals"
],
"init_params": {
"orion.primitives.timeseries_postprocessing.diff_thresh#1": {
"thresh": 0.1,
"op": ">"
},
"orion.primitives.intervals.get_intervals#1": {
"severity": true
}
}
}
17 changes: 17 additions & 0 deletions orion/pipelines/sandbox/SOL/movstd_OMNI_SDM_3_11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"primitives": [
"orion.primitives.timeseries_postprocessing.extract_dimension",
"orion.primitives.timeseries_postprocessing.rolling_std_thresh",
"orion.primitives.timeseries_postprocessing.get_intervals"
],
"init_params": {
"orion.primitives.timeseries_postprocessing.rolling_std_thresh#1": {
"thresh": 10,
"op": ">",
"window_size": 5
},
"orion.primitives.intervals.get_intervals#1": {
"severity": false
}
}
}
17 changes: 17 additions & 0 deletions orion/pipelines/sandbox/SOL/movstd_numenta_AISD.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"primitives": [
"orion.primitives.timeseries_postprocessing.extract_dimension",
"orion.primitives.timeseries_postprocessing.rolling_std_thresh",
"orion.primitives.timeseries_postprocessing.get_intervals"
],
"init_params": {
"orion.primitives.timeseries_postprocessing.rolling_std_thresh#1": {
"thresh": 10,
"op": ">",
"window_size": 5
},
"orion.primitives.intervals.get_intervals#1": {
"severity": true
}
}
}
16 changes: 16 additions & 0 deletions orion/pipelines/sandbox/SOL/thres_OMNI_SDM_3_11.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"primitives": [
"orion.primitives.timeseries_postprocessing.extract_dimension",
"orion.primitives.timeseries_postprocessing.thresholding",
"orion.primitives.timeseries_postprocessing.get_intervals"
],
"init_params": {
"orion.primitives.timeseries_postprocessing.thresholding#1": {
"thres": 0.01,
"op": "<"
},
"orion.primitives.intervals.get_intervals#1": {
"severity": true
}
}
}
16 changes: 16 additions & 0 deletions orion/pipelines/sandbox/SOL/thres_yahoo_real1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"primitives": [
"orion.primitives.timeseries_postprocessing.extract_dimension",
"orion.primitives.timeseries_postprocessing.thresholding",
"orion.primitives.timeseries_postprocessing.get_intervals"
],
"init_params": {
"orion.primitives.timeseries_postprocessing.thresholding#1": {
"thres": 0.45,
"op": ">"
},
"orion.primitives.intervals.get_intervals#1": {
"severity": true
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "diff_thresh",
"primitive": "orion.primitives.timeseries_postprocessing.diff_thresh",
"description": "Detects anomalies by calculating n-th order discrete difference",
"produce": {
"args": [
{
"name": "X",
"type": "ndarray"
}
],
"output": [
{
"name": "y",
"type": "ndarray"
}
]
},
"hyperparameters": {
"tunable": {
"thresh": {
"type": "float",
"default": "0.1"
},
"op": {
"type": "str",
"default": ">",
"options": ["<", ">", "<=", ">=", "=="]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "extract_dimension",
"primitive": "orion.primitives.timeseries_postprocessing.extract_dimension",
"description": "Dataset checks and slicing dimension",
"produce": {
"args": [
{
"name": "X",
"type": "ndarray"
}
],
"output": [
{
"name": "X",
"type": "ndarray"
}
]
},
"hyperparameters": {
"tunable": {
"dim": {
"type": "int",
"default": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "get_intervals",
"primitive": "orion.primitives.timeseries_postprocessing.get_intervals",
"description": "Builds anomaly intervals",
"produce": {
"args": [
{
"name": "y",
"type": "ndarray"
}
],
"output": [
{
"name": "y",
"type": "ndarray"
}
]
},
"hyperparameters": {
"tunable": {
"severity": {
"type": "bool",
"default": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "rolling_std_thresh",
"primitive": "orion.primitives.timeseries_postprocessing.rolling_std_thresh",
"description": "Detects anomalies through moving standard deviation thresholding",
"produce": {
"args": [
{
"name": "X",
"type": "ndarray"
}

],
"output": [
{
"name": "y",
"type": "ndarray"
}
]
},
"hyperparameters": {
"tunable": {
"thresh": {
"type": "float",
"default": 10
},
"op": {
"type": "str",
"default": ">",
"options": ["<", ">", "<=", ">=", "=="]
},
"window_size": {
"type": "int",
"default": "5"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "thresholding",
"primitive": "orion.primitives.timeseries_postprocessing.thresholding",
"description": "Detects anomalies through simple thresholding",
"produce": {
"args": [
{
"name": "X",
"type": "ndarray"
}

],
"output": [
{
"name": "y",
"type": "ndarray"
}
]
},
"hyperparameters": {
"tunable": {
"thres": {
"type": "float",
"default": 10
},
"op": {
"type": "str",
"default": ">",
"options": ["<", ">", "<=", ">=", "=="]
}
}
}
}
Loading