toad.shifts.methods.base¶
Classes
- class toad.shifts.methods.base.ShiftsMethod¶
Bases:
ABC- abstractmethod fit_predict(values_1d, times_1d)¶
Apply the shifts detection method.
- Parameters:
values_1d (ndarray) – Input values.
times_1d (ndarray) – Input times.
- Returns:
- A detection time series with the same length as the input,
where each value indicates the presence or magnitude of a detected shift.
- Return type:
np.ndarray