Giter Site home page Giter Site logo

dffndds's Introduction

DFFNDDS

DFFNDDS: PREDICTION OF SYNERGISTIC DRUG COMBINATIONS WITH DUAL FEATURE FUSION NETWORKS

The official PyTorch implementation of DFFNDDS: Prediction of Synergistic Drug Combinations with Dual Feature Fusion Networks. DFFNDDS utilizes a fine-tuned pretrained language model and dual feature fusion mechanisms to predict synergistic drug combinations.

Image

requirements:

DFFNDDS requires:

  • torch : 1.10.2
  • cuda : 11.3
  • python : 3.8.12

Steps:

  1. The input SMILES string is encoded by a fine-tuned BERT model, converting the features into vectors. The code of the fine-tuned BERT model is showed in simcse.py
  2. The output of the SMILES encoder, hashed atom pair fingerpints and gene expressions of cancer cell lines are input into the projector module, mapping the inputs to the same dimension. The dataset.py handles the input data , in model_h.py the inputs are mapped into the same dimension.
  3. To fuse the features, we utilize two networks (multi-head attention mechanism and highway network) to extract and combine the input features in the dual fusion block. The dual feature fusion mechanism is utilized in the construction of neural networks, which in the model_h.py.
  4. The outputs of the two networks are concatenated to obtain the final feature representation, which is propagated through the linear layer, the model_h.py contains the concatenation. The output of the model_h.py is the input of the prediction of the drug pairs in main-split.py.

Running Code:

python main-split.py

dffndds's People

Contributors

sorachel avatar ahmedhozny 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.