Uses the squared Mahalanobis distance in the soilVAE latent space, compared against the chi-squared threshold at df = 16, alpha = 0.05 (thr95 ~26.3). Latent statistics (mu, Sigma) are read from the per-property metrics JSON saved during training.
Usage
predict_applicability(
df,
family_id,
prop,
model_dir = getOption("autoSpectra.model_dir", "models")
)