Skip to content

Commit

Permalink
small inheritance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed May 28, 2024
1 parent 653b8fe commit 6ce7a49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions algo/curve_anomaly/cont_device/offline_detector.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from algo.curve_anomaly.cont_device.cont_detector import CurveDetector
from algo.curve_anomaly.cont_device.cont_detector import ContCurveDetector
from algo import utils
from .. import cont_device

import pandas as pd
import torch


class OfflineTrainContCurveDetector(CurveDetector):
class OfflineTrainContCurveDetector(ContCurveDetector):
# Used for training inside the operator
def __init__(self, data_path, device_type, init_median, first_data_time):
super().__init__(data_path, device_type, init_median, first_data_time)
Expand Down
4 changes: 2 additions & 2 deletions algo/curve_anomaly/cont_device/online_detector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from algo.curve_anomaly.cont_device.cont_detector import CurveDetector
from algo.curve_anomaly.cont_device.cont_detector import ContCurveDetector

class OnlineTrainContCurveDetector(CurveDetector):
class OnlineTrainContCurveDetector(ContCurveDetector):
# Used for outsourced training of the model
def __init__(self, data_path, device_type, init_median, first_data_time):
super().__init__(data_path, device_type, init_median, first_data_time)

0 comments on commit 6ce7a49

Please sign in to comment.