GithubHelp home page GithubHelp logo

citiususc / construe Goto Github PK

View Code? Open in Web Editor NEW
56.0 9.0 15.0 2.76 MB

An abductive framework for the interpretation of time series, with special application to ECG data.

License: GNU Affero General Public License v3.0

Python 96.89% C 0.74% Shell 1.57% Cython 0.80%
ecg-signal series-interpretation ecg-records wfdb

construe's People

Contributors

lkjell avatar tomas-teijeiro 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

construe's Issues

example missing some records.

In run_example.sh it says:

Reproduces the interpretation process for a given figure in the paper,
automatically choosing the proper parameters for fragment_processing.py.

All record fragments are under the examples/ directory, with a name
corresponding to the appropriate figure in the paper, from fig1 to fig10.

However, in the example folder fig1, fig2, and fig7 is missing.

the result of run_example.sh fig4 is strange

Describe the issue

I have entered bash run_example.sh fig4 in my terminal.

Actual Behavior:
And the results turn out as follow:
fig4

It seems that it's different from the image in the readme.md,

  • The horizontal axis doesn't start from 0, and it appears that the signal has been truncated

  • The top is a little bit strange. There is a circle on the top, is that normal?

Expected Behavior:

As readme.md reveals, the expected result is

example

Environment

Operating System: Linux

Python Version: Python 3.8.18

Package Name and Version:

  • brotlipy==0.7.0
  • fonttools==4.25.0
  • matplotlib==3.3.4
  • munkres==1.1.4
  • numpy==1.19.5
  • ply==3.11
  • pyperclip==1.8.2
  • PyQt5-sip==12.11.0
  • scikit-learn==0.22.1
  • scipy==1.10.1

ModuleNotFoundError: No module named 'sklearn.svm.classes'

Hello,

I am working from macos M1 and it has been really hard for me to set up the environment.
I have tried creating environment from .yml file but got "Solving environment: failed" message. I have created new environment, installed numpy (because it wasn't working properly otherwise) and then updated environment from requirements.txt. I have then installed wfdb software package. While running the example script it gives me the error:

ModuleNotFoundError: No module named 'sklearn.svm.classes'

I would really appreciate if you could help me.
If you need any extra info, please let me know.

Incompatibility with scikit-learn v. 0.22

The stored OneClassSVM object for P-Wave delineation is not able to perform predictions with sklearn v. 0.22. Probably the internal API has changed, so we need to rebuild or adapt the model.

add_constaint of same variable

The add_constraint method in ConstraintNetwork does not appear adding a constraint when the Variable input are the same.

FileNotFoundError: [Errno 2] No such file or directory: 'signame'

Hello,
I have used construe_environment.yml to create the proper environment and while running the example script it gives me the error:
FileNotFoundError: [Errno 2] No such file or directory: 'signame'

I probably didn't installed something properly, but I can't figure it out.
If you need any extra info, please let me know

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.