in kats/detectors/cusum_model.py [0:0]
def __eq__(self, other):
if isinstance(other, CUSUMDetectorModel):
return (
self.cps == other.cps
and self.alert_fired == other.alert_fired
and self.pre_mean == other.pre_mean
and self.pre_std == other.pre_std
and self.number_of_normal_scan == other.number_of_normal_scan
and self.alert_change_direction == other.alert_change_direction
and self.scan_window == other.scan_window
and self.historical_window == other.historical_window
and self.step_window == other.step_window
and self.threshold == other.threshold
and self.delta_std_ratio == other.delta_std_ratio
and self.magnitude_quantile == other.magnitude_quantile
and self.magnitude_ratio == other.magnitude_ratio
and self.change_directions == other.change_directions
and self.score_func == other.score_func
)
return False