Coder Social home page Coder Social logo

futianfan / pearl Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 3.6 MB

deep prototype learning for EHR data

Home Page: https://futianfan.github.io/BCB19_PEARL.pdf

Python 100.00%
deep-learning healthcare interpretable-machine-learning phenotyping prototype-lear rule-based-modeling

pearl's Introduction

PEARL: Prototype Learning via Rule Learning

๐Ÿš€ Installation

conda create -n pearl python=3.7 
conda activate pearl 
pip install torch 
pip install scikit-learn 
pip install matplotlib 

๐Ÿ“Š Data

data/: data folder

src/stream.py: process data

โš™๏ธ Configuration

src/config.py: configuration

๐Ÿค– Model

src/decision_tree.py: decision-tree for interpretable rule

src/model_torch.py: NN model (Pytorch)

train

python src/train_torch.py

๐Ÿ“ž Contact

Tianfan Fu ([email protected])

pearl's People

Contributors

futianfan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

pearl's Issues

Something about Prototype learning

Hello, I am reading your paper and code, it's a wonderful work. I noticed that the paper describes the pseudo representation of one rule as follows:
image
which h(x) is the embedded events, but only embedded events read from file are used in the code, it has nothing to do with the h(x) encoder.
Looking forward to your reply! Thank you!

Data to test PEARL

Thank you for making the code for this paper available. I was just wondering if you could supply the data that you used to train this model somehow. I would like to try out PEARL for myself.

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.