feature: Add ForwardLookingFilter to label_tuning utils#14
Merged
Conversation
…ce new filtering and shifting classes - Updated `BaseLabelTuner` to `BasePostprocessor` and added `ForwardLookingFilter` and `Shifter` classes for enhanced label processing. - Implemented `verify_time_series_and_labels` function for input validation in `BasePostprocessor`. - Enhanced `RemainingValueTuner` to support a list of postprocessors, allowing for flexible processing pipelines. - Added comprehensive docstrings and type hints for improved documentation and code quality. - Introduced `filtering.py` and `shifting.py` modules to encapsulate new filtering and shifting functionalities.
…ardLookingFilter and Shifter post-processor - Introduced `test_filtering.py` to validate the functionality of `ForwardLookingFilter` with various scenarios, including edge cases and input validation. - Created `test_shifting.py` to test the `Shifter` class, ensuring correct behavior for forward and backward shifts, as well as handling invalid constructor inputs. - Updated `test_remaining_value_tuner.py` to support a list of postprocessors in the tuning process, enhancing flexibility in the testing framework.
… postprocessors - Updated examples in `examples.rst` to include detailed descriptions of optional postprocessors for the `RemainingValueTuner`, such as `ForwardLookingFilter`, `Shifter`, and various smoothing techniques. - Revised `notebook_examples.rst` to reflect the inclusion of postprocessor pipelines in the label tuning example. - Expanded `tstrends.label_tuning.rst` to document the new filtering and shifting modules, providing clarity on their usage and functionality. - Added references to the new modules in the API documentation to improve discoverability and understanding of the label tuning process.
…s and dependencies
…er and ForwardLookingFilter
…naryTrendLabeller
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
Changed