-
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.
Merge branch 'v4' into 215-doc-add-optional-dependencies-description-…
…to-readmemd
- Loading branch information
Showing
62 changed files
with
176 additions
and
134 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Static Analysis | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main", "v*" ] | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4.1.6 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python 3.10.14 | ||
uses: actions/setup-python@v5.1.0 | ||
with: | ||
python-version: 3.10.14 | ||
- name: Run pre-commit | ||
uses: pre-commit/action@v3.0.1 |
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,6 +1,9 @@ | ||
"""The epochalyst package. | ||
"""The epochalyst package.""" | ||
|
||
It consists of the following modules: | ||
- `logging`: The logging module contains the classes and methods to log the pipeline. | ||
- `pipeline`: The pipeline module contains the classes and methods to create a pipeline for the model. | ||
""" | ||
from .ensemble import EnsemblePipeline | ||
from .model import ModelPipeline | ||
|
||
__all__ = [ | ||
"ModelPipeline", | ||
"EnsemblePipeline", | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
"""Caching module for epochalyst.""" | ||
|
||
from .cacher import CacheArgs, Cacher | ||
|
||
__all__ = ["Cacher", "CacheArgs"] |
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 +1,5 @@ | ||
"""Module for core logging functionality.""" | ||
"""Logging module, contains Logger class for logging messages to console and file.""" | ||
|
||
from .logger import Logger | ||
|
||
__all__ = ["Logger"] |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""Module containing training functionality for the epochalyst package.""" | ||
|
||
from .pretrain_block import PretrainBlock | ||
from .torch_trainer import TorchTrainer, TrainValidationDataset | ||
from .training import TrainingPipeline | ||
from .training_block import TrainingBlock | ||
|
||
__all__ = [ | ||
"PretrainBlock", | ||
"TrainingBlock", | ||
"TorchTrainer", | ||
"TrainingPipeline", | ||
"TrainValidationDataset", | ||
] |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"""Module containing implementation for augmentations.""" | ||
|
||
from epochalyst.training.augmentation.image_augmentations import CutMix, MixUp | ||
from epochalyst.training.augmentation.time_series_augmentations import ( | ||
AddBackgroundNoiseWrapper, | ||
CutMix1D, | ||
EnergyCutmix, | ||
Mirror1D, | ||
MixUp1D, | ||
RandomAmplitudeShift, | ||
RandomPhaseShift, | ||
SubtractChannels, | ||
) | ||
|
||
__all__ = [ | ||
"CutMix", | ||
"MixUp", | ||
"CutMix1D", | ||
"MixUp1D", | ||
"Mirror1D", | ||
"EnergyCutmix", | ||
"RandomPhaseShift", | ||
"RandomAmplitudeShift", | ||
"SubtractChannels", | ||
"AddBackgroundNoiseWrapper", | ||
] |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Module for reusable models or wrappers.""" | ||
|
||
from .timm import Timm | ||
|
||
__all__ = [ | ||
"Timm", | ||
] |
File renamed without changes.
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.