mcfly

A deep learning tool for time series classification and regression

https://github.com/nlesc/mcfly

Science Score: 67.0%

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

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

Keywords

auto-ml deep-learning time-series

Keywords from Contributors

research-software fair action python-template copier-template copier copier-python point-cloud similarity-measures metabolomics
Last synced: 6 months ago · JSON representation ·

Repository

A deep learning tool for time series classification and regression

Basic Info
  • Host: GitHub
  • Owner: NLeSC
  • License: apache-2.0
  • Language: JavaScript
  • Default Branch: main
  • Homepage:
  • Size: 10.9 MB
Statistics
  • Stars: 366
  • Watchers: 30
  • Forks: 83
  • Open Issues: 62
  • Releases: 17
Topics
auto-ml deep-learning time-series
Created almost 10 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation Roadmap Zenodo

README.md

GitHub Workflow Status Coverage PyPI DOI Binder <!-- The first 12 lines are skipped while generating 'long description' (see setup.py)) -->

The goal of mcfly is to ease the use of deep learning technology for time series classification and regression. 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.

If you use mcfly in your research, please cite the following software paper:

D. van Kuppevelt, C. Meijer, F. Huber, A. van der Ploeg, S. Georgievska, V.T. van Hees. Mcfly: Automated deep learning on time series. SoftwareX, Volume 12, 2020. doi: 10.1016/j.softx.2020.100548

Installation

Prerequisites: - Python 3.10, 3.11 - pip - Tensorflow 2, PyTorch or JAX

Installing all dependencies in separate conda environment: ```sh conda env create -f environment.yml

activate this new environment

source activate mcfly ```

To install the package, run one of the following commands in the project directory:

  • pip install mcfly[tensorflow]
  • pip install mcfly[torch]
  • pip install mcfly[jax]

Please note: If you are not using tensorflow, you have to set the environment variable KERAS_BACKEND accordingly to your chosen backend.

For GPU support take a look at the latest version of the requirements section "most stable GPU environment" inside the Keras documentation or directly in their GitHub repository.

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.

Owner

  • Name: Netherlands eScience Center
  • Login: NLeSC
  • Kind: organization
  • Location: Amsterdam, The Netherlands

Citation (CITATION.cff)

# YAML 1.2
---
abstract: "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."
authors:
  -
    affiliation: "Netherlands eScience Center"
    family-names: Kuppevelt
    given-names: Dafne
    name-particle: van
  -
    affiliation: "Netherlands eScience Center"
    family-names: Meijer
    given-names: Christiaan
    orcid: "https://orcid.org/0000-0002-5529-5761"
  -
    affiliation: "Netherlands eScience Center"
    family-names: Huber
    given-names: Florian
    orcid: "https://orcid.org/0000-0002-3535-9406"
  -
    affiliation: "Netherlands eScience Center"
    family-names: Hees
    given-names: Vincent
    name-particle: van
    orcid: "https://orcid.org/0000-0003-0182-9008"
  -
    affiliation: "Netherlands eScience Center"
    family-names: Solino Fernandez
    given-names: Breixo
  -
    affiliation: "Netherlands eScience Center"
    family-names: Bos
    given-names: Patrick
  -
    affiliation: "Netherlands eScience Center"
    family-names: Spaaks
    given-names: Jurriaan
  -
    affiliation: "Netherlands eScience Center"
    family-names: Kuzak
    given-names: Mateusz
    orcid: "https://orcid.org/0000-0003-0087-6021"
  -
    affiliation: "Netherlands eScience Center"
    family-names: Hidding
    given-names: Johan
  -
    affiliation: "Netherlands eScience Center"
    family-names: Ploeg
    given-names: Atze
    name-particle: "van der"
  -
    affiliation: "Netherlands eScience Center"
    family-names: Lüken
    given-names: Malte
    orcid: "https://orcid.org/0000-0001-7095-203X"
  -
    affiliation: "Netherlands eScience Center"
    family-names: Lyashevska
    given-names: Olga
    orcid: "https://orcid.org/0000-0002-8686-8550"
cff-version: "1.2.0"
date-released: 2022-12-21
doi: "10.5281/zenodo.596127"
keywords:
  - "machine learning"
  - "deep learning"
  - "time series"
  - "automated machine learning"
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
title: "mcfly: deep learning for time series"
version: "4.1.0"
references:
  - type: article
    title: "Mcfly: Automated deep learning on time series"
    doi: 10.1016/j.softx.2020.100548
    authors:
    -
      affiliation: "Netherlands eScience Center"
      family-names: Kuppevelt
      given-names: Dafne
      name-particle: van
    -
      affiliation: "Netherlands eScience Center"
      family-names: Meijer
      given-names: Christiaan
    -
      affiliation: "Netherlands eScience Center"
      family-names: Huber
      given-names: Florian
      orcid: "https://orcid.org/0000-0002-3535-9406"
    -
      affiliation: "Netherlands eScience Center"
      family-names: Ploeg
      given-names: Atze
      name-particle: "van der"
    -
      affiliation: "Netherlands eScience Center"
      family-names: Sonja
      given-names: Georgievska
    -
      affiliation: "Netherlands eScience Center"
      family-names: Hees
      given-names: Vincent
      name-particle: van
      orcid: "https://orcid.org/0000-0003-0182-9008"

GitHub Events

Total
  • Create event: 4
  • Release event: 4
  • Issues event: 2
  • Watch event: 3
  • Issue comment event: 2
  • Push event: 9
  • Pull request review event: 2
  • Pull request review comment event: 2
  • Pull request event: 3
  • Fork event: 1
Last Year
  • Create event: 4
  • Release event: 4
  • Issues event: 2
  • Watch event: 3
  • Issue comment event: 2
  • Push event: 9
  • Pull request review event: 2
  • Pull request review comment event: 2
  • Pull request event: 3
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 764
  • Total Committers: 16
  • Avg Commits per committer: 47.75
  • Development Distribution Score (DDS): 0.709
Past Year
  • Commits: 7
  • Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Christiaan Meijer c****r@e****l 222
dafnevk d****t@e****l 178
florian-huber 3****r 113
vincent v****s@g****m 98
breixo b****o@g****m 76
maltelueken m****n@a****e 24
E. G. Patrick Bos e****s@g****m 19
Jurriaan H. Spaaks j****s@e****l 7
Olga Lyashevska o****a@h****l 7
Olga Lyashevska o****a@g****m 6
Mateusz Kuzak m****k@g****m 6
Johan Hidding j****g@g****m 3
atzeus a****s@g****m 2
github-actions[bot] g****] 1
Faruk D 1****n 1
Abel Soares Siqueira a****a@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 69
  • Total pull requests: 34
  • Average time to close issues: 4 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 13
  • Total pull request authors: 11
  • Average comments per issue: 0.9
  • Average comments per pull request: 0.68
  • Merged pull requests: 28
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • cwmeijer (28)
  • dafnevk (11)
  • bsolino (10)
  • florian-huber (7)
  • maltelueken (4)
  • jmrichardson (2)
  • rmndrs89 (1)
  • machielg (1)
  • wmotte (1)
  • ghost (1)
  • vincentvanhees (1)
  • shamilnabiyev (1)
  • kivicode (1)
Pull Request Authors
  • maltelueken (9)
  • cwmeijer (6)
  • bsolino (4)
  • florian-huber (4)
  • lyashevska (3)
  • dafnevk (3)
  • dependabot[bot] (2)
  • HeinrichAD (2)
  • jhidding (1)
  • fdiblen (1)
  • abelsiqueira (1)
Top Labels
Issue Labels
code quality (10) documentation (7) must-have (3) Research (2) classification (2) bug (2) enhancement (2) tutorial (1)
Pull Request Labels
dependencies (2) github_actions (2) enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 102 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 4
  • Total versions: 14
  • Total maintainers: 1
pypi.org: mcfly

Deep learning for time series data

  • Homepage: https://github.com/NLeSC/mcfly
  • Documentation: https://mcfly.readthedocs.io/
  • License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright {yyyy} {name of copyright owner} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  • Latest release: 4.1.0
    published 7 months ago
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 4
  • Downloads: 102 Last month
Rankings
Stargazers count: 3.4%
Forks count: 4.9%
Dependent repos count: 7.5%
Dependent packages count: 10.1%
Average: 11.8%
Downloads: 33.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • h5py *
  • numpy *
  • scikit-learn >=0.15.0
  • scipy >=0.11
  • tensorflow >=2.0.0
.github/workflows/CI_build.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
.github/workflows/cffconvert.yml actions
  • actions/checkout v2 composite
  • citation-file-format/cffconvert-github-action 2.0.0 composite
.github/workflows/release.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v3 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish v1.4.2 composite
.github/workflows/sphinx_build.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/FAIRSECO.yml actions
  • SecureSECO/FAIRSECO v1.0.0 composite
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • ad-m/github-push-action master composite
  • anchore/sbom-action v0 composite
  • tortellini-tools/action v3 composite
environment.yml pypi