Code Monkey home page Code Monkey logo

dnn-toxicity-prediction's Introduction

Drug Molecular Toxicity Prediction Using Neural Network

This project is to build a convolutional neural network (CNN) to predict the toxicity of a drug based on its molecular structure.

Prerequisites

TensorFlow: 1.5.0
TensorBoard (Optional): 1.5.1

Dataset

This project uses a dataset of drug molecules in Simplified Molecular-Input Line-Entry System (SMILES) expressions and the binary labels indicating whether one drug molecule is toxic or not. The dataset is related to the toxicity of some small molecules. There are two folders, one is the training data NR-ER-train (~8k samples), another is the testing data NR-ER-test (~100 samples). The molecules in NR-ER-train and NR-ER-test do not overlap with each other. There are three files in each folder:

File Type Description
names_smiles.csv String A csv file, each line contains a drug molecule’s name and its SMILES expression, separated by a comma (,)
names_labels.csv String A csv file, each line contains a drug molecule’s name and its toxicity label, where 0 means non-toxic and 1 means toxic, separated by a comma (,)
names_onehots.npy Numberic A npy file which derived from names_smiles.csv, storing one-hot representations of SMILES expressions of drug molecules and can be loaded by numpy package, storing two ndarray; one is the names of the molecules, and the other is the one-hot representations of SMILES expressions of drug molecules

Running

Run train.py to train a network model
Run evaluate.py to test all the generated models in current path

Built With

Authors

  • Kiros Choi - Initial work - KirosC

dnn-toxicity-prediction's People

Contributors

kirosc avatar

Watchers

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