-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Convert post-processing to transforms, fix #537
- Factor all functions out of labeled_timebins except has_unlabeled - Only test has_unlabeled in test_labeled_timebins, parametrize the unit test - Add 'multi_char_labels_to_single_char' to vak.labels - and add type annotations and clean up docstrings - Clean up / add tests to tests/test_labels.py - Add src/vak/transforms/labeled_timebins/functional.py - Add src/vak/transforms/labeled_timebins/transforms.py - Fix imports in vak/transforms/ __init__.py files - Import labeled_timebins transforms in transforms/__init__.py - Fix other imports - Import classes from transforms in src/vak/transforms/labeled_timebins/__init__.py - TST: Move paths outside fixtures in fixtures/annot.py to be able to import directly in test modules to parametrize there. - TST: Move path to constant outside fixture in fixtures/config.py - Add tests/test_transforms/__init__.py so we can do relative import from tests/fixtures - Add tests/test_transforms/test_labeled_timebins/test_functional.py - Add tests/test_transforms/test_labeled_timebins/test_transforms.py - Use `vak.transforms.labeled_timebins.from_segments` in vocal_dataset.py - Use vak.transforms.labeled_timebins in engine/model.py - Use transforms.labeled_timebins.from_segments in datasets/window_dataset.py - Use transforms.labeled_timebins.to_segments in core/predict.py - Use labeled_timebins transforms 'postprocess' and 'to_segments' in core/predict.py
- Loading branch information
1 parent
1ae478d
commit 8fb7665
Showing
18 changed files
with
1,787 additions
and
819 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
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.