def __init__(self, time_series, baseline_time_series, percent_threshold_upper=None, percent_threshold_lower=None):
super(CustomAlgo, self).__init__(self.__class__.__name__, time_series, baseline_time_series)<EOL>self.percent_threshold_upper = percent_threshold_upper<EOL>self.percent_threshold_lower = percent_threshold_lower<EOL>
:param time_series: current time series
:param baseline_time_series: baseline time series
:param percent_threshold_upper: If time_series is larger than baseline_time_series by this percent, then its
an anomaly
:param percent_threshold_lower: If time_series is smaller than baseline_time_series by this percent, then its
an anomaly