Downloads · 30 days
0
xiejunjie/Molecular-toxicity-prediction
Molecular-toxicity-prediction is a machine learning model from xiejunjie. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Oct 13, 2025
Repo size
4.3 GB
Likes
0
Public
Click a slice to open those files.
.csv3.5 GB · 79%
From the Hugging Face model README
All ToxKG data are stored in a neo4j.dump file. To deploy it locally, follow the steps below (note: importing a dump file requires using the same major version of Neo4j as our build, i.e., Neo4j Server 5.x).
neo4j stop
neo4j-admin database load neo4j --from=/path/neo4j.dump --force
neo4j start
The environment used in this project has been fully encapsulated in the environment.yml file. You can install it with a single command as follows:
conda env create -f environment.yml -n myenv
conda activate myenv
Location for storing data and input features.
Contains data files related to the R-GCN model.
common_cids.csv --Information containing the CIDs, SMILES representations, and the 12 toxicity prediction results of the common molecules shared by Tox21 and the knowledge graph
gnn_input_fp.csv --Information containing CIDs and five different molecular fingerprints
filtered_triples.csv --Complete triplet information of molecules with shared CIDs
gnn_input_genes.csv --Gene list file
gnn_input_pathways.csv --File containing the pathway list
compound_master.csv --Contains CID, SMILES, {fingerprint_cols…}, and {12 toxicity columns}
Directory containing the training code and training results for the six GNN models.
Stores the training results.
Contains the training code.
Contains data preprocessing scripts.
python gcn2-bac.py --epochs 1000 --hidden 512 --heads 4
python gat2-bac.py --epochs 1000 --hidden 512 --heads 4
python train_gps_gine_cv.py --epochs 1000 --hidden 512 --heads 4
python train_hgt_cv.py --epochs 1000 --hidden 128 --lr 5e-4 --embed_dim 32
python train_hran_pos_weight_cv.py \
--gene_col geneSymbol --pathway_col pathwayId \
--epochs 1000 --hidden 512
python train_rgcn_cv2.py \
--gene_col geneSymbol --pathway_col pathwayId \
--epochs 1000 --hidden 512