Skip to content

Commit

Permalink
update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
LSC2204 committed Jan 31, 2023
1 parent 7b7f3f0 commit 7ddd575
Show file tree
Hide file tree
Showing 39 changed files with 636 additions and 4,364 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,6 @@ example_pipeline.json
tmp.txt

benchmark/realworld_data/data/*.csv

.vscode/
tods-doc-sphinx/
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/tods-doc-sphinx
Submodule tods-doc-sphinx deleted from e6a0d5
70 changes: 67 additions & 3 deletions examples/axolotl_interface/run_advanced_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#target_index = 2 # what column is the target

table_path = '../../datasets/anomaly/raw_data/yahoo_sub_5.csv'
search_space_path = "../../tods/searcher/example_search_space.json"

target_index = 6 # what column is the target
#table_path = 'datasets/NAB/realTweets/labeled_Twitter_volume_IBM.csv' # The path of the dataset
time_limit = 30 # How many seconds you wanna search
Expand All @@ -33,8 +33,72 @@
beta=1.0)

# get JSON search space
with open(search_space_path) as f:
search_space= json.load(f)
search_space = {
"timeseries_processing": {
"time_series_seasonality_trend_decomposition": {
"use_semantic_types": [
1,
0
]
},
"moving_average_transform":{
"window_size":[
3,
4,
5
],
"norm":[
"l1",
"l2",
"max"
],
"use_semantic_types":[
0,
1
]
}
},
"feature_analysis": {
"statistical_h_mean": {
"window_size": [
10,
20
]
},
"statistical_maximum": {
"window_size": [
10,
20
]
},
"statistical_minimum": {
"window_size": [
10,
20
]
}
},
"detection_algorithm": {
"pyod_ae": {
"dropout_rate": [
0.1,
0.2
]
},
"pyod_loda": {
"n_bins": [
10,
20
]
},
"pyod_cof": {
"n_neighborss": [
15,
20
]
}
}
}

#define search process
config = {
Expand Down
8 changes: 3 additions & 5 deletions examples/axolotl_interface/run_pipeline_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@

'feature_analysis': [
('statistical_maximum',),
], # Specify hyperparams as k,v pairs

# 'timeseries_processing':[
# ('standard_scaler',)
# ],
]
}
pipeline = build_system_pipeline(config)
print(pipeline.to_json())
input()

# Run the pipeline
pipeline_result = evaluate_pipeline(dataset, pipeline, metric)
Expand Down
64 changes: 0 additions & 64 deletions out.csv

This file was deleted.

1 change: 0 additions & 1 deletion tods-doc-sphinx
Submodule tods-doc-sphinx deleted from 798ed4
198 changes: 0 additions & 198 deletions tods/detection_algorithm/core/AutoRegOD.py

This file was deleted.

Loading

0 comments on commit 7ddd575

Please sign in to comment.