Package: soilVAE 0.1.9

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]

soilVAE_0.1.9.tar.gz
soilVAE_0.1.9.zip(r-4.7)soilVAE_0.1.9.zip(r-4.6)soilVAE_0.1.9.zip(r-4.5)
soilVAE_0.1.9.tgz(r-4.6-any)soilVAE_0.1.9.tgz(r-4.5-any)
soilVAE_0.1.9.tar.gz(r-4.7-any)soilVAE_0.1.9.tar.gz(r-4.6-any)
soilVAE_0.1.9.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

Pkgdown/docs site:https://hugomachadorodrigues.github.io

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

On CRAN:

Conda:

deep-learningsoil-propertiessoil-sciencesoil-spectroscopytensorflowvariational-autoencoder

4.60 score 8 scripts 493 downloads 7 exports 12 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK184
source / vignettesOK162
linux-release-x86_64OK173
macos-release-arm64OK110
macos-oldrel-arm64OK118
windows-develOK90
windows-releaseOK66
windows-oldrelOK146
wasm-releaseOK115

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-02-24
Started: 2026-02-16

soilVAE vignettes

Last update: 2026-02-24
Started: 2026-02-22