https://github.com/ari-dasci/s-tsfe-dl

Time Series Feature Extraction using Deep Learning

https://github.com/ari-dasci/s-tsfe-dl

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.2%) to scientific vocabulary

Keywords

cnn convolutional deep-learning feature-extraction keras lstm neural-networks python3 pytorch pytorch-lightning recurrent rnn tensorflow time-series
Last synced: 6 months ago · JSON representation

Repository

Time Series Feature Extraction using Deep Learning

Basic Info
  • Host: GitHub
  • Owner: ari-dasci
  • License: agpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 924 KB
Statistics
  • Stars: 58
  • Watchers: 5
  • Forks: 9
  • Open Issues: 0
  • Releases: 10
Topics
cnn convolutional deep-learning feature-extraction keras lstm neural-networks python3 pytorch pytorch-lightning recurrent rnn tensorflow time-series
Created almost 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License

README.md

TSFEDL: A Python Library for Time Series Spatio-Temporal Feature Extraction and Prediction using Deep Learning.

Description

Time series feature extraction is a classical problem in time series analysis. Classical addition and multiplication models have been used for this purpose until the appearance of Artificial Neural Networks and Deep Learning. This problem has gained attention since multiple real-life problems imply the usage of time series.

In this repository, we introduce a new Python module which compiles 20 backbones for time series feature extraction using Deep Learning. This module has been created to cover the necessity of a versatile and expandable piece of software for practitioners to use in their problems.

How to run

Conda environment for GPU clusters

To easily use the library inside a conda environment the following commands are recommended to install the module. First of all install pip inside anaconda, which will install python inside the environment as well to encapsulate the whole installation.

bash conda install -c anaconda pip

After this, if a GPU is going to be used, we should install cuDNN 8.2.1 for the current tensorflow-gpu version (2.6.0). The NVIDIA CUDA toolkit will be also installed as a cuDNN dependency.

bash conda install -c anaconda cudnn==8.2.1

Finally, we can install the TSFEDL library using pip3 (which will be inside the conda environment, you can check this by running "which pip3"). This will install as dependencies pytorch-lightning, pytorch, tensorflow-gpu and all the needed packages. Use the --use-feature=2020-resolver flag if the installation runs into an error.

bash pip3 install --use-feature=2020-resolver tsfedl

Otherwise use

bash pip3 install tsfedl

After this everything is set up.

PyPi

The module is uploaded to PyPi for an easy installation: bash pip install tsfedl or bash pip3 install tsfedl

Documentation

The documentation of the model can be found in https://s-tsfe-dl.readthedocs.io/en/latest/

Using the repository

First, install dependencies

```bash

clone project

git clone https://github.com/ari-dasci/S-TSFE-DL.git

install project

cd S-TSFE-DL pip install -e . ```

Examples

To run an example, navigate to any file and run it.

```bash cd project/examples

run example

python arrythmia_experiment.py ```

Imports

This project is set up as a package which means you can now easily import any file into any other file like so:

```python import tensorflow as tf import TSFEDL.models_keras as TSFEDL

get the OhShuLih model

model = TSFEDL.OhShuLih(inputtensor=input, includetop=True)

compile and fit as usual

model.compile(optimizer='Adam') model.fit(X, y, epochs=20) ```

Citation

Please cite this work as:

Time Series Feature Extraction using Deep Learning library (https://github.com/ari-dasci/S-TSFE-DL/)

@article{AGUILERAMARTOS2023223, title = {{TSFEDL}: A python library for time series spatio-temporal feature extraction and prediction using deep learning}, journal = {Neurocomputing}, volume = {517}, pages = {223-228}, year = {2023}, doi = {https://doi.org/10.1016/j.neucom.2022.10.062}, author = {Ignacio Aguilera-Martos and Ángel M. García-Vico and Julián Luengo and Sergio Damas and Francisco J. Melero and José Javier Valle-Alonso and Francisco Herrera} }

ArXiV reference with extended material: https://arxiv.org/abs/2206.03179

Owner

  • Name: ARI-DaSCI
  • Login: ari-dasci
  • Kind: organization

Andalusian Research Institute in Data Science and Computational Intelligence

GitHub Events

Total
  • Watch event: 5
  • Fork event: 2
Last Year
  • Watch event: 5
  • Fork event: 2

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 126
  • Total Committers: 4
  • Avg Commits per committer: 31.5
  • Development Distribution Score (DDS): 0.198
Top Committers
Name Email Commits
Ignacio Aguilera Martos n****6@g****m 101
Ángel Miguel García Vico a****o@d****s 22
sergiodamas 7****s@u****m 2
Rubén Morales Pérez r****p@p****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 2
  • Total pull requests: 1
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 6 days
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • akatav (1)
  • JJavier98 (1)
Pull Request Authors
  • Rubenmp (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
documentation (1)

Dependencies

docker/requirements.txt pypi
  • obspy *
  • pytorch-lightning *
  • scikit-learn *
  • tensorflow-gpu *
  • torchmetrics *
  • wfdb *
requirements.txt pypi
  • keras ==2.6.0
  • obspy *
  • pytorch-lightning *
  • scikit-learn *
  • tensorflow-gpu ==2.6.0
  • torchmetrics *
  • wfdb *
setup.py pypi
  • keras ==2.6.0
  • obspy *
  • pytorch-lightning *
  • scikit-learn *
  • tensorflow-gpu ==2.6.0
  • torchmetrics *
  • wfdb *