Skip to content

Releases

qsarcert 1.2.2

Choose a tag to compare

@sircalch sircalch released this 20 Nov 22:11
c14178b

Release made to trigger automatic Zenodo archiving so that this version receives its own citable DOI. No functional changes. See CHANGELOG.md.

qsarcert 1.2.1

Choose a tag to compare

@sircalch sircalch released this 20 Nov 18:25
789b0cd

Fixed

  • Author name in generated citations. The BibTeX written to citation.bib, shown in the HTML report and printed by the command line read Andre (with a broken accent) instead of André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.md and SECURITY.md; README links to all of them.

Fixed

  • The "Changelog" project URL pointed to a main branch that does not exist; it now points to master.

qsarcert v1.2.0

Choose a tag to compare

@sircalch sircalch released this 30 Sep 21:01

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_quality now accepts y_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; also expected_chance_r2 and 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

Choose a tag to compare

@sircalch sircalch released this 01 Sep 00:54

qsarcert v1.0.0 - Scientific Quality-Control, Simulation Validation, and Reproducibility Toolkit.

Install via pip:
pip install qsarcert==1.0.0