Skip to main content

Deep learning for time series data

Project description

<p align="left">
<img src="mcflylogo.png" width="200"/>

[![Build Status](](
[![Code quality](](
<a href=""><img src=""></a>

The goal of mcfly is to ease using deep learning technology for time series classification. The advantages of deep learning algorithms is that it can handle raw data directly with no need to compute signal features, it does not require a expert domain knowledge about the data, and it 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
- Python 2.7 or 3.5
- 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](
* Install numpy and scipy through the conda package manager (and not with pip)
* Use TensorFlow, and not Theano as a backend (this is the default setting in Keras)
* Preferably use Python version >= 3.5, because Tensorflow is available on pypi for python 3.5 only
* To install mcfly, run `pip install .` in the cmd prompt.

## Visualization
We build a tool to visualize the configuration and performance of the models. To run the model visualization, 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
* [Wiki page](
* [User manual](
* [Code documentation](
* [Technical Documentation](
* [Information on Data preprocessing](

## 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
mcfly-1.0.1.tar.gz (10.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page