Downloads · 30 days
0
tdc/herg_karim-CNN
herg_karim-CNN is a machine learning model from tdc. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tdc. The card lists the license as bsd-2-clause.
An integrated Ether-a-go-go-related gene (hERG) dataset consisting of molecular structures labeled as hERG (<10uM) and non-hERG (=10uM) blockers in the form of SMILES strings was obtained from the DeepHIT, the Binding…
Downloads · 30 days
0
Access
Public
Updated Apr 13, 2024
Repo size
9 MB
Likes
0
Public
Click a slice to open those files.
.pt9 MB · 100%
From the Hugging Face model README
An integrated Ether-a-go-go-related gene (hERG) dataset consisting of molecular structures labeled as hERG (<10uM) and non-hERG (>=10uM) blockers in the form of SMILES strings was obtained from the DeepHIT, the BindingDB database, ChEMBL bioactivity database, and other literature.
Binary classification. Given a drug SMILES string, predict whether it blocks (1, <10uM) or not blocks (0, >=10uM).
Total: 13445; Train_val: 12620; Test: 825
Install the following packages
pip install PyTDC
pip install DeepPurpose
pip install git+https://github.com/bp-kelley/descriptastorus
pip install dgl torch torchvision
You can also reference the colab notebook here
Random split with 70% training, 10% validation, and 20% testing
To load the dataset in TDC, type
from tdc.single_pred import Tox
data = Tox(name = 'herg_karim')
CNN is applying Convolutional Neural Network on SMILES string fingerprint. Model is tuned with 100 runs using Ax platform.
To load the pre-trained model, type
from tdc import tdc_hf_interface
tdc_hf = tdc_hf_interface("hERG_Karim-CNN")
# load deeppurpose model from this repo
dp_model = tdc_hf.load_deeppurpose('./data')
tdc_hf.predict_deeppurpose(dp_model, ['CC(=O)NC1=CC=C(O)C=C1'])