Giter Site home page Giter Site logo

takshan / mcanet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrzqaq/mcanet

0.0 0.0 0.0 59.81 MB

Source code of paper: "MCANet: Shared-weight-based MultiheadCrossAttention network for drug-target interaction prediction"

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

mcanet's Introduction

MCANet

Paper is available at Briefing in Bioinformatics

Dependencies

Quick install: pip install -r requirements.txt

Dependencies:

  • python 3.8+
  • pytorch >=1.2
  • numpy
  • sklearn
  • tqdm
  • prefetch_generator

Usage

python main.py <dataset> [-m,--model] [-s,--seed] [-f,--fold]

Parameters:

  • dataset : DrugBank, Davis , KIBA , Enzyme , GPCRs or ion_channel
  • -m or --model : select <model name> from MCANet, MCANet-B, onlyMCA or onlyPolyLoss, optional, default:MCANet
  • -s or --seed : set random seed, optional
  • -f or --fold : set K-Fold number, optional

Project Structure

  • DataSets: Data used in paper.
  • assets: Readme resources.
  • utils: A series of tools.
  • config.py: model config.
  • LossFunction.py: Loss function used in paper.
  • main.py: main file of project.
  • model.py: Proposed model in paper.
  • README.md: this file
  • requirements.txt: dependencies file
  • RunModel.py: Train, validation and test programs.

Citation

@article{10.1093/bib/bbad082,
    author = {Bian, Jilong and Zhang, Xi and Zhang, Xiying and Xu, Dali and Wang, Guohua},
    title = {MCANet: shared-weight-based MultiheadCrossAttention network for drug–target interaction prediction},
    journal = {Briefings in Bioinformatics},
    volume = {24},
    number = {2},
    pages = {bbad082},
    year = {2023},
    month = {03},
    issn = {1477-4054},
    doi = {10.1093/bib/bbad082}
}

mcanet's People

Contributors

mrzqaq avatar

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.