1 Star 0 Fork 0

Lindsay.Lu丶 / Apnea-ECG

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Sleep Apnea Detection

Project Overview

Over 18 million Americans suffer from Sleep Apnea, which leads to sleep deprivation, hypertension, heart diseases, and even stroke. Many people are not aware of it (thinking that they just snore a lot) or are concerned about the cost and effort of a sleep study.

The purpose of this app is to detect sleep apnea using signals from the heart rate measurement, so that wearable devices can provide early warning and direct people to sleep studies for diagnosis and treatment.

Background

This figure shows a typical pattern of heart rate data during apnea. Due to the periodical breathing interruption, the heart rate fluctuates with a larger range at a specific frequency. As such, using features in the time and frequency domains, predictions can be made on whether the user is undergoing sleep apnea.

Data

The prediction model is trained using a dataset on the PhysioNet, which provides the electrocardiogram recording of 70 participants during their sleep (~8 hours). The condition of these participants ranges from normal to severe apnea. The recording is paired with sleep apnea labels for each minute marked by experts using various types of measurement. Since most wearable devices do not track electrocardiograms, only the heart rate information is extracted to form the training dataset.

Model

Stratified cross-validation is performed to compare the prediction performance of Logistic Regression, Light GBM and Multilayer Perceptron using the same set of features. An end-to-end solution using pre-trained Convolutional Neural Networks and the wavelet spectrogram as input images is also tested. The overall accuracy is similar for these models (~80%), which means the features in the time and frequency domains convey most of the useful information.

Want to know more about this project?

This is a personal project for the Insight Data Science program.

  • Heroku App: Self-evaluation of sleep apnea using your own heart rate data.
  • Google Slides: Demo slides for feature engineering and performance evaluation.
MIT License Copyright (c) 2020 ChiQiao Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Detect sleep apnea using heart rate data from wearable devices 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lindsaylu/Apnea-ECG.git
git@gitee.com:lindsaylu/Apnea-ECG.git
lindsaylu
Apnea-ECG
Apnea-ECG
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891