-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from fraunhoferportugal/feature/datasets
Added the new Datasets module.
- Loading branch information
Showing
20 changed files
with
458 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: "Tests" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [ opened, synchronize, reopened ] | ||
|
||
jobs: | ||
test: | ||
name: Run template tests | ||
strategy: | ||
max-parallel: 4 | ||
fail-fast: false | ||
matrix: | ||
python-version: [ '3.8', '3.9' ] | ||
platform: [ 'ubuntu-20.04', 'macos-latest', 'windows-latest' ] | ||
runs-on: ${{ matrix.platform }} | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- name: Git Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Extract branch name | ||
run: echo running on branch ${GITHUB_REF##*/} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -VV | ||
python -m pip install --upgrade pip setuptools | ||
pip install -r requirements/requirements.txt | ||
pip install -r requirements/requirements-test.txt | ||
python -m pip install . | ||
- name: Check numpy and scipy flags | ||
run: | | ||
python -c "import numpy as np; np.show_config()" | ||
python -c "import scipy as sp; sp.show_config()" | ||
# - name: Test the input/output | ||
# run: | | ||
# python tests/test_calc_features.py | ||
- name: Test the data loaders | ||
run: | | ||
$retry_count = 3 | ||
while ($retry_count -gt 0) { | ||
python tests/test_dataset_loaders.py | ||
if ($LASTEXITCODE -eq 0) { | ||
break | ||
} | ||
$retry_count-- | ||
Start-Sleep -Seconds 5 | ||
} |
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 |
---|---|---|
|
@@ -91,6 +91,7 @@ celerybeat-schedule | |
# Environments | ||
.env | ||
.venv | ||
.venv-docs | ||
env/ | ||
venv/ | ||
ENV/ | ||
|
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
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ Module Reference | |
|
||
modules/tsfel.feature_extraction | ||
modules/tsfel.utils | ||
modules/tsfel.datasets |
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,15 @@ | ||
datasets | ||
======== | ||
|
||
.. automodule:: tsfel.datasets | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
_single_problem_loaders | ||
----------------------- | ||
|
||
.. automodule:: tsfel.datasets._single_problem_loaders | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.