Giter VIP home page Giter VIP logo

iobt-vistec / metasleeplearner Goto Github PK

View Code? Open in Web Editor NEW
32.0 2.0 10.0 43 KB

Meta-Learning for EEG, Sleep Staging, Transfer Learning, Pre-trained EEG, PSG datasets (IEEE Journal of Biomedical and Health Informatics)

Jupyter Notebook 11.28% Python 88.72%
eeg sleep-stage-classification convolutional-neural-networks meta-learning transfer-learning pre-trained-model maml eeg-classification deep-learning

metasleeplearner's Introduction

N. Banluesombatkul et al., "MetaSleepLearner: A Pilot Study on Fast Adaptation of Bio-signals-Based Sleep Stage Classifier to New Individual Subject Using Meta-Learning," in IEEE Journal of Biomedical and Health Informatics, doi: 10.1109/JBHI.2020.3037693.
This source code belongs to INTERFACES (BRAIN lab @ IST, VISTEC, Thailand)

Datasets

Five publicly datasets were used to evaluate our method including

[All of them should be prepared and put in /data - only MASS datasets were pre-processed using bandpass filters as described in our paper]

Algorithm source code (/src)

  • set up configuration i.e. data path, model hyperparameters, etc. in configure.py
  • meta-train (our approach) python MAML.py
  • normal pre-train (baseline) python NormalPretrain.py
  • fine-tune: configure and run python FinetuneCNNKFolds.py
  • evaluate: put list of fine-tune weights path and run notebook FinetuneAndTestOnBestHyperparams-List.ipynb

Other configuration:

  • Every file: set GPU# before running
  • bot.py: add your chat ID and bot token (if you want to have notification, otherwise just remove all lines calling it.)

Citation

To cite our paper,

@ARTICLE{9258375,
  author={N. {Banluesombatkul} and P. {Ouppaphan} and P. {Leelaarporn} and P. {Lakhan} and B. {Chaitusaney} and N. {Jaimchariya} and E. {Chuangsuwanich} and W. {Chen} and H. {Phan} and N. {Dilokthanakul} and T. {Wilaiprasitporn}},
  journal={IEEE Journal of Biomedical and Health Informatics}, 
  title={MetaSleepLearner: A Pilot Study on Fast Adaptation of Bio-signals-Based Sleep Stage Classifier to New Individual Subject Using Meta-Learning}, 
  year={2020},
  volume={},
  number={},
  pages={1-1},
  doi={10.1109/JBHI.2020.3037693}}

metasleeplearner's People

Contributors

iobt-vistec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

metasleeplearner's Issues

About the environment of experiment

Dear author, I am also engaged in sleep staging research. Can you tell me what is the specific operating environment of your experiment? Thank you very much and look forward to your reply!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.