https://github.com/nlesc/mcfly-tutorial
tutorial for mcfly repository
https://github.com/nlesc/mcfly-tutorial
Last synced: 10 months ago
JSON representation
tutorial for mcfly repository
- Host: GitHub
- URL: https://github.com/nlesc/mcfly-tutorial
- Owner: NLeSC
- License: apache-2.0
- Created: 2017-03-02T09:43:49.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T11:48:35.000Z (about 3 years ago)
- Last Synced: 2025-08-19T03:09:36.682Z (11 months ago)
- Language: Jupyter Notebook
- Size: 69 MB
- Stars: 79
- Watchers: 14
- Forks: 41
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/NLeSC/mcfly-tutorial/actions)
This repository contains notebooks that show how to use the [mcfly](https://github.com/NLeSC/mcfly) software. Mcfly is deep learning tool for time series classification.
## Tutorials
Currently we offer two tutorials here.
Our main tutorial can be found in the notebook [notebooks/tutorial/tutorial.ipynb](https://github.com/NLeSC/mcfly-tutorial/blob/master/notebooks/tutorial/tutorial.ipynb). This tutorial will let you train deep learning models with mcfly on the [PAMAP2 dataset for activity recognition](https://archive.ics.uci.edu/ml/datasets/PAMAP2+Physical+Activity+Monitoring).
A comparable, slightly quicker tutorial can be found in the notebook [notebooks/tutorial/tutorial_quick.ipynb](https://github.com/NLeSC/mcfly-tutorial/blob/master/notebooks/tutorial/tutorial_quick.ipynb). This tutorial will let you train deep learning models with mcfly on the [RacketSports dataset for activity recognition](http://www.timeseriesclassification.com/description.php?Dataset=RacketSports).
Prerequisites:
- Python 3.7 and above
- The following python packages have to be installed (also specified in requirements.txt file):
- mcfly
- jupyter
- pandas
- matplotlib
- scipy
- numpy
## Installation
```shell
python3 -m venv env
. env/bin/activate
pip install --upgrade pip setuptools
pip install -r requirements.txt
```
## Running the notebooks
The tutorials can be run using Jupyter notebook. From the tutorial root folder run:
`jupyter notebook`
There are two versions of the tutorial. The [standard tutorial](https://github.com/NLeSC/mcfly-tutorial/blob/master/notebooks/tutorial/tutorial.ipynb) is for self-learning. There is also a [version for workshops](https://github.com/NLeSC/mcfly-tutorial/blob/master/notebooks/tutorial/workshop.ipynb) which is only expected to be used with the aid of an instructor.