Giter VIP home page Giter VIP logo

ramachandran-lab / esnn Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 5.51 MB

Code and simulations using an Ensemble of Single-Effect Neural Networks (ESNN)

Home Page: https://www.sciencedirect.com/science/article/pii/S2589004222008252

License: MIT License

Python 89.08% R 10.92%
machine-learning gwas genetics variable-selection neural-networks bayesian-statistics interpretability gwas-tools

esnn's Introduction

Enemble of Single-Effect Neural Networks (ESNN)

This repo is the official implementation for "Enemble of Single-Effect Neural Network" (ESNN) framework. It contains example code for running ESNN on continuous and binary classification data.

Installation and Dependencies

Python >= 3.7.4, tensorflow >= 2.1.0, tensorflow-probability >= 0.9.0, keras >= 2.3.1, matplotlib >= 3.1.2, numpy >= 1.17.2, Pillow >= 7.1.0, scikit-learn >= 0.21.3, scipy >= 1.4.1

Code

  1. Regression example: ESNN_regression.py
  2. Classification example: ESNN_binary.py
  3. Example code to generate simulated data and to also run the "Sum of Single-Effects" regression model (SuSiE) (Wang et al. 2020): simu_example.R

To run on your own data, one can simply change the file path in the code. The simulation file contains examples of how to generate case-control data in a genome-wide association (GWA) study under the liability threshold model and a toy regression example.

RELEVANT CITATIONS

W. Cheng, S. Ramachandran, and L. Crawford. Uncertainty Quantification in Variable Selection for Genetic Fine-Mapping using Bayesian Neural Networks. iScience. 25(7): 104553.

QUESTIONS AND FEEDBACK

For questions or concerns with the ESNN software, please contact Wei Cheng or Lorin Crawford.

We welcome and appreciate any feedback you may have with our software and/or instructions.

esnn's People

Contributors

lorinanthony avatar weichengv avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yzhong36

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.