Code Monkey home page Code Monkey logo

hypersynergy's Introduction

HyperSynergy

Source code and dataset for TPAMI 2023 paper: "Few-Shot Drug Synergy Prediction with a Prior-Guided Hypernetwork Architecture"

Requirements

Python == 3.6

torch == 1.7.0+cu110

torch-geometric == 1.6.1

torch-scatter == 2.0.5

torch-sparse == 0.6.8

torch-cluster == 1.5.8

rdkit == 2019.09.3.0

pytorchtools == 0.0.2

Usage (Step by step runing)

0. Create Sample Feature Dictionaries (Required when running on other datasets)

If you would like to run the code of the HyperSynergy on other datasets, please first obtain the drugs' sdf file from PubChem through the drugs' Pubchem cid, and gene expression profile (900 genes, gene_expression_examples.csv) of cell lines from CCLE or GDSC, and then create three .p files: cell_feature_900.p, codes_cell.p, and drug_feature_cell.p by running feature_generation.py and feature_direction.py

1. Representation Learning

If you would like to get a pretrained feature embedding model, please run representation_learning.py

2. Meta-training

If you would like to learn the weights and biases of meta-generative network module of the HyperSynergy, please run train_few_shot.py

3. Meta-test

If you would like to test the power of HyperSynergy on meta-test cell lines, please run test_few_shot.py

Citation

If you find our work is useful for your research, please consider citing our paper:

@article{zhang2023few,
title={Few-Shot Drug Synergy Prediction With a Prior-Guided Hypernetwork Architecture},
author={Zhang, Qingqing and Zhang, Shaowu and Feng, Yuehua and Shi, Jianyu},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
year={2023},
publisher={IEEE} }

hypersynergy's People

Contributors

nwpu-903pr 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.