Downloads · 30 days
0
scbirlab/spark-dv-fp-2503-kpn
spark-dv-fp-2503-kpn is a tabular regression model from scbirlab. Use it for the tabular regression task on the model card, and read the license before you ship it in a product. It is set up for duvida. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Mar 28, 2025
Repo size
609 MB
Likes
0
Public
Click a slice to open those files.
.arrow192 MB · 92%
From the Hugging Face model README
Updated: Fri 28 Mar 14:27:11 GMT 2025
Trained on the Klebsiella pneumoniae, WT accumulator phenotype subset of the human-curated SPARK dataset (3920 rows in total for Klebsiella pneumoniae).
This model was trained using our Duvida framework, as a result of hyperparameter searches and selecting the model that performs best on unseen test data (from a scaffold split).
Duvida also saves the training data in this checkpoint to allows the calculation of uncertainty metrics based on that training data.
This model is the best regression model from a hyperparameter search, determined by Spearman's $\rho$ on a held-out test set not used in training or early stopping.
{
"dropout": 0.2,
"ensemble_size": 10,
"extra_featurizers": null,
"learning_rate": 0.0001,
"model_class": "ChempropModelBox",
"n_hidden": 3,
"n_units": 16,
"use_2d": true,
"use_fp": true
}
You can use this model with:
from duvida.autoclasses import AutoModelBox
modelbox = AutoModelBox.from_pretrained("hf://scbirlab/spark-dv-2503-kpne")
modelbox.predict(filename=..., inputs=[...], columns=[...]) # make predictions on your own data
Here is the training log:
<img src="training-log.png" width=450>And these are the evaluation scores.
Train (2045 rows):
{
"Pearson r": 0.879788014533255,
"RMSE": 0.4014032185077667,
"Spearman rho": 0.8235991116907959
}
Validation (723 rows):
{
"Pearson r": 0.7805225413538466,
"RMSE": 0.7095186710357666,
"Spearman rho": 0.6299348550927065
}
Test (646 rows):
{
"Pearson r": 0.4050551318825592,
"RMSE": 0.6779211163520813,
"Spearman rho": 0.4843227707887753
}
The training data were collated by the authors of:
Joe Thomas, Marc Navre, Aileen Rubio, and Allan Coukell Shared Platform for Antibiotic Research and Knowledge: A Collaborative Tool to SPARK Antibiotic Discovery ACS Infectious Diseases 2018 4 (11), 1536-1539 DOI: 10.1021/acsinfecdis.8b00193
We cleaned the original SPARK dataset to subset the most relevant columns, remove empty values, give succint column titles, and split by species.
This particular dataset retains only measurements on bacteria with wild-type accumulation phenotypes.
Data were processed using schemist, a tool for processing chemical datasets.
The SMILES strings have been canonicalized, and split into training (70%), validation (15%), and test (15%) sets by Murcko scaffold for each species with more than 1000 entries. Additional features like molecular weight and topological polar surface area have also been calculated.
Joe Thomas, Marc Navre, Aileen Rubio, and Allan Coukell