Skip to content

th0ger/mcfly-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

This repository contains notebooks that show how to use the mcfly software. Mcfly is deep learning tool for time series classification..

Tutorials

Currently we here offer two tutorials. Our main tutorial can be found in the notebook notebooks/tutorial/tutorial.ipynb. This tutorial will let you train deep learning models with mcfly on the PAMAP2 dataset for activity recognition.

A comparable, slightly quicker tutorial can be found in the notebook notebooks/tutorial/tutorial_quick.ipynb. This tutorial will let you train deep learning models with mcfly on the RacketSports dataset for activity recognition.

Prerequisites:

  • Python 3.5, 3.6, or 3.7
  • Have the following python packages installed:
    • mcfly
    • jupyter

Installation mcfly

Mcfly can be installed through pypi:

pip install mcfly

See https://github.com/NLeSC/mcfly for alternative installation instructions

Installation jupyter

The tutorials are provided in Jupyter notebooks, which can be found in the folder notebooks. To use a notebook, first install Jupyter:

pip install jupyter

For more documentation on Jupyter: See the official documentation

Installation on Windows

Windows users can best use Anaconda 3.6.

  • Create a new environment (Environments > Create…)
  • Click the play button next to your environment and select ‘Open terminal’
  • Type conda install numpy scipy jupyter and then pip install mcfly
  • Click the play button again and select ‘open with Jupyter notebook’
  • Navigate to the directory where you cloned this repository, where you can open the notebooks

Running the notebooks

The tutorials can be run using Jupyter. From the tutorial root folder run:

jupyter notebook

There are two versions of the tutorial. The standard tutorial is for self-learning. There is also a version for workshops which is only expected to be used with the aid of an instructor.

About

tutorial for mcfly repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.6%
  • Python 2.4%