-
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.
feat: sample builder ergonomics (#28)
- add `gather_every` (~strides) and `length` to FixedWindowSampleBuilder - remove RollingWindowSampleBuilder
- Loading branch information
1 parent
34c2f16
commit a61a037
Showing
8 changed files
with
18 additions
and
78 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
from importlib.metadata import version | ||
|
||
from .dataset import Dataset | ||
from .sample import FixedWindowSampleBuilder, RollingWindowSampleBuilder | ||
from .sample import FixedWindowSampleBuilder | ||
|
||
__version__ = version(__package__ or __name__) | ||
|
||
__all__ = [ | ||
"Dataset", | ||
"FixedWindowSampleBuilder", | ||
"RollingWindowSampleBuilder", | ||
"__version__", | ||
] | ||
__all__ = ["Dataset", "FixedWindowSampleBuilder", "__version__"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from .fixed_window import FixedWindowSampleBuilder | ||
from .rolling_window import RollingWindowSampleBuilder | ||
|
||
__all__ = ["FixedWindowSampleBuilder", "RollingWindowSampleBuilder"] | ||
__all__ = ["FixedWindowSampleBuilder"] |
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 was deleted.
Oops, something went wrong.
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