Skip to content

Commit

Permalink
refactored training job request
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Jun 18, 2024
1 parent e9605e1 commit 7f0751e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions algo/curve_anomaly/cont_det/online_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ def training_shall_start(self, timestamp):
def start_training(self, timestamp):
topic_name, path_to_time, path_to_value = self._get_input_topic()
job_request = {
"task": "ml_fit",
"task": "anomaly_detection",
"task_settings": {
"use_case": "anomaly",
"model_parameter": {
"window_length": 205,
"batch_size": 1,
Expand Down Expand Up @@ -124,7 +123,7 @@ def start_training(self, timestamp):
"time_range_value": "1",
"time_range_level": "d"
},
"toolbox_version": "v2.2.47",
"toolbox_version": "v2.2.62",
"ray_image": "ghcr.io/senergy-platform/ray:v0.0.8"
}
util.logger.debug(f"Start online training")
Expand Down

0 comments on commit 7f0751e

Please sign in to comment.