Repository navigation
Releases
Releases · sircalch/qsarcert
qsarcert 1.2.2
qsarcert 1.2.1
Fixed
- Author name in generated citations. The BibTeX written to
citation.bib, shown in the HTML report and printed by the command line readAndre(with a broken accent) instead ofAndrés; the APA and BibTeX strings, the package__author__and the licence now read Andrés Monreal-Hernández. - Stale version numbers. The generated BibTeX, the methods paragraph and the HTML report footer stated a fixed older version (often 1.0.0); they now read the installed version.
Added
- Documentation site with installation, API reference and citation guidance: https://sircalch.github.io/qsarcert/.
- Support and governance statement in
CONTRIBUTING.md;CODE_OF_CONDUCT.mdandSECURITY.md; README links to all of them.
Fixed
- The "Changelog" project URL pointed to a
mainbranch that does not exist; it now points tomaster.
qsarcert v1.2.0
Corrections found by applying QSARCert to 180 real models (MLR, ridge and random forests on ESOL,
FreeSolv and Lipophilicity, random and scaffold splits; validation/).
Fixed
- Applicability domain: membership is decided by leverage alone (h <= h*). Compounds with high
leverage but small residuals were counted as inside the domain, and residuals (unknown for new
compounds) took part in the decision. One influential outlier no longer fails the whole check;
the status follows the coverage. - Applicability domain: when h* >= 1 (e.g. fingerprints with more bits than compounds) the check is
NOT_APPLICABLE instead of reporting meaningless leverages (they were clipped at 10). h* uses the
rank of the design, which equals p + 1 for non-collinear descriptors. - Applicability domain: residuals are standardised with the training residual standard deviation
(n - p - 1 degrees of freedom);assess_qsar_qualitynow acceptsy_train_pred. Before, a robust
scale of the test residuals was used, which hid large test errors. - Y-randomization: the OLS surrogate is NOT_APPLICABLE when its expected chance R^2, p/(n - 1), is
0.5 or more. With fingerprints it reported a chance correlation for every model. - Split leakage: raw descriptors were compared by cosine similarity, which is close to 1 for almost
every pair of molecules; nearly every test compound was flagged as a duplicate. Fingerprints are
now compared by Tanimoto similarity; for continuous descriptors only identical inputs are counted.
Exact duplicates are identical vectors, not cosine >= 0.9999. - Report provenance carried the version 1.0.0.
Added
perform_y_randomization(..., estimator=...): refits the user's model on permuted responses and
scores it by k-fold cross-validated R^2; alsoexpected_chance_r2and a permutation p-value.check_split_leakage(..., smiles_train=, smiles_test=): duplicate structures and shared
Bemis-Murcko scaffolds (requires RDKit).ApplicabilityDomainResult.design_rank,residual_scale,residual_scale_source.- Status
NOT_APPLICABLE, which does not enter the overall decision.
qsarcert v1.0.0 - Official Release
qsarcert v1.0.0 - Scientific Quality-Control, Simulation Validation, and Reproducibility Toolkit.
Install via pip:
pip install qsarcert==1.0.0