soilVAE: Supervised Variational Autoencoder Regression via 'reticulate'

Supervised latent-variable regression for high-dimensional predictors such as soil reflectance spectra. The model uses an encoder-decoder neural network with a stochastic Gaussian latent representation regularized by a Kullback-Leibler term, and a supervised prediction head trained jointly with the reconstruction objective (Kingma and Welling (2014) <doi:10.48550/arXiv.1312.6114>). Predictors and response are standardised inside the model, so new data are scaled like the training data. The implementation interfaces R with a 'Python' deep-learning backend ('Keras' and 'TensorFlow') and provides utilities for installation, training with early stopping, tuning, prediction, latent embeddings, and saving models.

Version: 0.2.0
Imports: reticulate (≥ 1.41), stats, utils
Suggests: knitr, rmarkdown, prospectr, pls, testthat (≥ 3.0.0)
Published: 2026-11-08
DOI: 10.32614/CRAN.package.soilVAE
Author: Hugo Rodrigues [aut, cre]
Maintainer: Hugo Rodrigues <rodrigues.machado.hugo at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
SystemRequirements: Python (>= 3.9); TensorFlow (>= 2.16); Keras (>= 3)
Citation: soilVAE citation info
Materials: README, NEWS
CRAN checks: soilVAE results

Documentation:

Reference manual: soilVAE.html , soilVAE.pdf
Vignettes: soilVAE Workflow (source, R code)

Downloads:

Package source: soilVAE_0.2.0.tar.gz
Windows binaries: r-devel: soilVAE_0.1.10.zip, r-release: soilVAE_0.1.10.zip, r-oldrel: soilVAE_0.1.10.zip
macOS binaries: r-release (arm64): soilVAE_0.1.10.tgz, r-oldrel (arm64): soilVAE_0.1.10.tgz, r-release (x86_64): soilVAE_0.1.10.tgz, r-oldrel (x86_64): soilVAE_0.1.10.tgz
Old sources: soilVAE archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=soilVAE to link to this page.