Package: soilVAE 0.1.10

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. The implementation interfaces R with a 'Python' deep-learning backend and provides utilities for training, tuning, and prediction.

Authors:Hugo Rodrigues [aut, cre], Alexandre M. J.-C. Wadoux [cph]

soilVAE_0.1.10.tar.gz
soilVAE_0.1.10.zip(r-4.7-any)soilVAE_0.1.10.zip(r-4.6-any)soilVAE_0.1.10.zip(r-4.5-any)
soilVAE_0.1.10.tgz(r-4.6-any)soilVAE_0.1.10.tgz(r-4.5-any)
soilVAE_0.1.10.tar.gz(r-4.7-any)soilVAE_0.1.10.tar.gz(r-4.6-any)
soilVAE_0.1.10.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
soilVAE/json (API)

# Install 'soilVAE' in R:
install.packages('soilVAE', repos = c('https://hugomachadorodrigues.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hugomachadorodrigues/soilvae/issues

Datasets:
  • datsoilspc - Soil spectroscopy example dataset used in the soilVAE vignettes

On CRAN:

Conda:

3.30 score 195 downloads 7 exports 12 dependencies

Last updated from:c180889b56. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK106
source / vignettesOK341
linux-releaseOK104
macos-releaseOK108
macos-oldrelOK117
windows-develOK78
windows-releaseOK80
windows-oldrelOK67
wasm-releaseOK95

Exports:select_best_from_gridtune_vae_train_valvae_buildvae_configurevae_encodevae_fitvae_predict

Dependencies:herejsonlitelatticeMatrixpngrappdirsRcppRcppTOMLreticulaterlangrprojrootwithr

soilVAE Workflow
Packages | Data | Utility: evaluation metrics (base R) | Spectra preprocessing (reflectance → absorbance → resample → SNV → movav) | Split: calibration (datC) vs test (datV) | Baseline: PLS (train on datC, evaluate on datV) | soilVAE: supervised VAE regression (skips automatically if TF/Keras unavailable) | Prepare matrices (scale X using train stats; keep y in original units) | Fit and evaluate (only runs when TF/Keras is available) | Final comparison table (PLS vs soilVAE)

Last update: 2026-08-22
Started: 2026-03-17

soilVAE vignettes

Last update: 2026-03-17
Started: 2026-03-17