Skip to main content

Deep learning for time series data

Project description

Build Status AppVeyor Build Status Code quality Coverage PyPI DOI Binder

The goal of mcfly is to ease the use of deep learning technology for time series classification. The advantage of deep learning is that it can handle raw data directly, without the need to compute signal features. Deep learning does not require expert domain knowledge about the data, and has been shown to be competitive with conventional machine learning techniques. As an example, you can apply mcfly on accelerometer data for activity classification, as shown in the tutorial.

Installation

Prerequisites:

  • Python 2.7, 3.5 or 3.6
  • pip

Installing all dependencies in sparate conda environment:

conda env create -f environment.yml

# activate this new environment
source activate mcfly

To install the package, run in the project directory:

pip install .

Installing on Windows

When installing on Windows, there are a few things to take into consideration. The preferred (in other words: easiest) way to install Keras and mcfly is as follows:

  • Use Anaconda
  • Use Python 3.x, because tensorflow is not available on Windows for Python 2.7
  • Install numpy and scipy through the conda package manager (and not with pip)
  • To install mcfly, run pip install mcfly in the cmd prompt.
  • Loading and saving models can give problems on Windows, see https://github.com/NLeSC/mcfly-tutorial/issues/17

Visualization

We build a tool to visualize the configuration and performance of the models. The tool can be found on http://nlesc.github.io/mcfly/. To run the model visualization on your own computer, cd to the html directory and start up a python web server:

python -m http.server 8888 &

Navigate to http://localhost:8888/ in your browser to open the visualization. For a more elaborate description of the visualization see user manual.

User documentation

User and code documentation.

Contributing

You are welcome to contribute to the code via pull requests. Please have a look at the NLeSC guide for guidelines about software development.

We use numpy-style docstrings for code documentation.

Licensing

Source code and data of mcfly are licensed under the Apache License, version 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcfly-1.0.4.tar.gz (11.4 kB view details)

Uploaded Source

Built Distributions

mcfly-1.0.4-py3.7.egg (22.2 kB view details)

Uploaded Source

mcfly-1.0.4-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file mcfly-1.0.4.tar.gz.

File metadata

  • Download URL: mcfly-1.0.4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.8

File hashes

Hashes for mcfly-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ac047e434cc5171e4a4229ecfab3f07c1f342f5ccd2bb652ee9773c1ca190bb2
MD5 1d16f28641e8c60281b54d60813ac152
BLAKE2b-256 7763ddd91c30622f09d34700f20b85b8cb57daa156984f9713f9438d52d3ddb0

See more details on using hashes here.

File details

Details for the file mcfly-1.0.4-py3.7.egg.

File metadata

  • Download URL: mcfly-1.0.4-py3.7.egg
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for mcfly-1.0.4-py3.7.egg
Algorithm Hash digest
SHA256 7da4c4110b3ddc34304f81a243bf54c513cf746308039018c123f0cc1af141d4
MD5 8a7f899a72afc649af8d5c8d86ee372e
BLAKE2b-256 170fa4fb712d9483551f8d7b2d821553e9b936e5140f41f0937414c33fd75f9f

See more details on using hashes here.

File details

Details for the file mcfly-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: mcfly-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.8

File hashes

Hashes for mcfly-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0154194b3d48ccd56ee7be786433cf37bee6e4f64405c0f48d2bfca761eb0b1a
MD5 54675c8dcbfc1a20274ba3d6b80b5048
BLAKE2b-256 ecc801d0df3ba288fcbd1961eda79173f28be3009223a00d22e02d0d61047519

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page