forked from sktime/sktime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Rework of base series annotator API (sktime#6265)
See sktime#3214 . #### What does this implement/fix? Explain your changes. <!-- A clear and concise description of what you have implemented. --> Reworks and refactors the `BaseSeriesAnnotator` class: * Removes the `fmt` and `label` attributes. * Adds the `learning_type` and `task` attributes. * Adds default `predict` and `transform` method. * Adds default `predict_points` and `predict_segments` methods. * Adds methods for converting between dense and sparse output formats. * Adds default methods for `predict` and `transform`. Also carries out a move of all existing annotation estimators to the new interface.
- Loading branch information
Showing
12 changed files
with
681 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.