Skip to content

DiSTAP 1.1.1 — The pipeline now estimates how long to train the model.

Latest

Choose a tag to compare

@iok-ui iok-ui released this 01 Dec 21:51
· 2 commits to develop since this release
Immutable release. Only release title and notes can be modified.

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 (loc1 for light stress, loc3 for 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