Git Product home page Git Product logo

ecg-final's Introduction

Sử dụng điện tim để phát hiện bất thường ở người sử dụng học máy

Giới thiệu

Project dùng để phát hiện bất thường ở người có bệnh tim thông qua việc phân loại điện tâm đồ.

Nguồn dữ liệu sử dụng

Dữ liệu MIT-BIH database

Dữ liệu đang sử dụng

Cấu trúc project

Configure

Bao gồm những file json có tác dụng để điều chỉnh thông số của các hàm đang hiện thực. Bao gồm 2 file:

  • colab_classification: cấu hình project chạy trên google colab
  • local_classification: cấu hình project chạy trên máy local

Các tham số trong file configure là:

  • data_path: vị trí lưu dataset
  • epoch: số lần tính toán
  • batchsize
  • timestep
  • checkpoint: vị trí lưu file checkpoint của model khi training (hdf5), các file plot accuracy-loss, file configure,...
  • model: Model được sử dụng để training
  • data_processing: hàm xử lý data
  • data_prepare_function: hàm xử lý data
  • rr_processin_function: hàm xử lý khoảng R-R

Source

Bao gồm 3 file:

  • classification.py: phân loại tín hiệu điện tâm đồ
  • load_model.py : load model đã lưu và kiểm thử
  • utils.py: xử lý tác vụ liên quan Và 2 folder:

Data

Bao gồm 2 file xử lý data:

  • data_stuff.py: xử lý data chuẩn bị cho mô hình phân loại
  • plot_data.py: xử lý data từ matlab chuyển về csv, đánh dấu đỉnh, ghi chú trong data góc,...
  • pca.py: xử lý nhiễu, thu giảm chiều dữ liệu,...

Model

Chứa model cho mô hình phân loại.

Run project

  • cd ecg-final
  • python source/classification.py

ecg-final's People

Contributors

daohuynhtrung avatar

Watchers

James Cloos avatar

Forkers

amri95

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.