Skip to content

Releases

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 08:25

First reproducible release of the AMP classification benchmark

This release replaces the original code snapshot with a repository that can be
audited, reproduced and cited.

What is in the box

Item Value
Features 4921 (iFeature 4484 + PseKRAAC 425 + modlamp 12)
Samples 2557 (L0 = 1231, L1 = 1326)
Split train 1789 / val 384 / test 384, stratified, seed 42
Models Logistic Regression, Random Forest, SVM, XGBoost, Gradient Boosting, Voting Ensemble
Headline result Gradient Boosting, accuracy 0.8646, F1 0.8706, ROC-AUC 0.9432

The asset in this release

all_features_combined_standard.csv (77.6 MB, MD5 7ce771dc55f1cf66d0dd28f8609c0bcb)
is the upstream feature table that the whole pipeline depends on. It is shipped as
an asset rather than committed, so git clone stays fast.

curl -L -o all_features_combined_standard.csv \
  https://github.com/ssinder/ampml/releases/download/v0.1.0/all_features_combined_standard.csv
md5sum all_features_combined_standard.csv

How much of the accuracy is real

The negative class is drawn from UniProt full-protein fragments, whose length
distribution differs from curated natural AMPs. Matching the two length
distributions costs about 2.8 accuracy points, which is the size of the effect
that any AMP benchmark inherits from its negative sampling. Shuffling the
positive sequences collapses every model to chance, so the remaining signal is
sequence content rather than a label artefact. Both results are reproduced by
src/07_negative_sampling_sensitivity.py.

Verification

Every push runs lint, a multi-version test suite, the environment self-check and
the five-layer audit. The audit checks 30 numbers against the independent test
set; the test set is the only acceptance basis, the cross-validation scores in
the training runs are systematically higher and are not used for acceptance.

Known limitations

The negative sampling bias described above is the largest one. There is no
external validation set, so 0.8646 reflects internal hold-out performance. The
upstream MMseqs2 clustering parameters were not recorded, so the representative
sequences cannot be regenerated from scratch.

Full Changelog: https://github.com/ssinder/ampml/commits/v0.1.0