Repository navigation
Releases
Releases · braph-software/DiSTAP
DiSTAP 1.1.1 — The pipeline now estimates how long to train the model.
With this release, you no longer need to guess how many epochs to train the DIVA model. DiSTAP estimates the number of training epochs required for your data by cross-validation, and shows you why it chose that number. All example scripts, the GUI pipeline, figures and supplementary files are synchronised with the manuscript as of .
What's new
- A new step: Estimate the Number of Epochs. In the GUI pipeline and in every example script, this step comes before training. It tries the model on 5 parts of your data in turn and stops where the model stops improving, before it starts overfitting. The final model is then trained on all your spectra for that number of epochs. Spectra from the same leaf location are always kept together, so the estimate is not inflated by near-identical spectra.
- You can see why that number was chosen. Each run saves the loss curves and tables (epoch selection, overfitting check, patience sensitivity, separability) next to your figures, ready for a supplementary file.
- Results that match the manuscript. Running an example script reproduces the manuscript's choice of epochs (light stress 16, shade avoidance 21, high temperature 17, bacterial Arabidopsis 11, bacterial Choy Sum 15) and its figures, made from the same spectra (
loc1for light stress,loc3for bacterial Arabidopsis, all leaf spectra otherwise). - Cleaner input. Polystyrene reference (
ps), pre-stress and petiole spectra are removed automatically. - An extra latent-space plot with plain z1 and z2 axes, as in the manuscript figures, next to the existing quantile-style plot.
- An updated README explaining what each example script does, with the numbers to expect.
What's Changed
- Estimate the number of VAE training epochs by cross-validation, aligned with the DIVA manuscript by @yu-wei-c in #12
- Rerun of all five example scripts: new figures, cross-validation tables and trained models by @yu-wei-c
Full Changelog: 1.0.0...1.1.1
DiSTAP v1.0.0
This release marks the stable, verified version in which all content — figures, code, and supplementary files — are synchronised with the manuscript as of 12 January 2026.
What's Changed
- Integrating of DiSTAP Raman Pipelines by @yu-wei-c in #1
- Implementation of VAE MNIST by @yu-wei-c in #2
- Implementation of VAE for Raman Specturm Analysis by @yu-wei-c in #4
- Implementation of calling R script 1 by @yu-wei-c in #5
- Implementation of calling R script 2 by @yu-wei-c in #6
- Implementation of generic VAE-RS pipeline for compatiblilty of all dataset in MS by @yu-wei-c in #8
- Polish GUI usage by @yu-wei-c in #9
New Contributors
- @yu-wei-c made their first contribution in #1
- @anoopcpatil carefully reviewed and approved the content details
- @anoopcpatil made the contribution in creating figures and tables
Full Changelog: https://github.com/yu-wei-c/DiSTAP/commits/1.0.0