Changes
- Update dependencies:
* sktime >= 0.30. The sktime update is an API break to BaseSeriesAnnotator, which among other things removes the fmt and labels arguments. Since BaseSeriesAnnotator is still experimental, this PR refactors a lot of basic functionality.
* No upper restriction on numpy and pandas.
- Introduce BaseDetector, which inherits from BaseTransformer in sktime. See here https://github.com/NorskRegnesentral/skchange/issues/8 for reasoning. This class is an alternative to BaseSeriesAnnotator as long as it is experimental, but aims to not stray too far away. It also removes the fmt and labels arguments.
- Add base classes per detection type:
* ChangeDetector
* PointAnomalyDetector
* CollectiveAnomalyDetector
* SubsetCollectiveAnomalyDetector
- Refactor all change and anomaly detectors to depend on a suitable subclass of BaseDetector.
- Convert from black to ruff for formatting.