{
  "_id": "6ae343e395ca2370cc8ce457",
  "Package": "soilVAE",
  "Type": "Package",
  "Title": "Supervised Variational Autoencoder Regression via 'reticulate'",
  "Version": "0.1.10",
  "Authors@R": "c(\nperson(\"Hugo\", \"Rodrigues\", email = \"rodrigues.machado.hugo@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Alexandre M. J.-C.\", \"Wadoux\", role = \"cph\",\ncomment = \"Copyright holder of the 'soilspec' package (MIT, 2020), from which the bundled 'datsoilspc' dataset is redistributed\")\n)",
  "Description": "Supervised latent-variable regression for high-dimensional\npredictors such as soil reflectance spectra. The model uses an\nencoder-decoder neural network with a stochastic Gaussian\nlatent representation regularized by a Kullback-Leibler term,\nand a supervised prediction head trained jointly with the\nreconstruction objective. The implementation interfaces R with\na 'Python' deep-learning backend and provides utilities for\ntraining, tuning, and prediction.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "Python (>= 3.9); TensorFlow (>= 2.13); Keras (>= 3)",
  "URL": "https://hugomachadorodrigues.github.io/soilVAE/,\nhttps://github.com/HugoMachadoRodrigues/soilVAE/",
  "BugReports": "https://github.com/HugoMachadoRodrigues/soilVAE/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-29 12:21:14 UTC",
    "User": "root"
  },
  "Author": "Hugo Rodrigues [aut, cre], Alexandre M. J.-C. Wadoux [cph]\n(Copyright holder of the 'soilspec' package (MIT, 2020), from\nwhich the bundled 'datsoilspc' dataset is redistributed)",
  "Maintainer": "Hugo Rodrigues <rodrigues.machado.hugo@gmail.com>",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://hugomachadorodrigues.r-universe.dev",
  "Date/Publication": "2026-08-22 17:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/soilVAE",
  "RemoteRef": "HEAD",
  "RemoteSha": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
  "_user": "hugomachadorodrigues",
  "_type": "src",
  "_file": "soilVAE_0.1.10.tar.gz",
  "_fileid": "https://r2.ropensci.org/bcc11beec8238954696277a966de8ce13689b966740e42e0e3006f6bd79c5789",
  "_filesize": 3229384,
  "_sha256": "bcc11beec8238954696277a966de8ce13689b966740e42e0e3006f6bd79c5789",
  "_expires": "2027-02-06T13:02:24.000Z",
  "_created": "2026-10-29T12:21:14.000Z",
  "_published": "2026-10-29T13:02:27.263Z",
  "_upstream": "https://github.com/cran/soilVAE",
  "_status": "success",
  "_maintainer": {
    "name": "Hugo Rodrigues",
    "email": "rodrigues.machado.hugo@gmail.com",
    "login": "hugomachadorodrigues",
    "twitter": "@Hugo_MRodrigues",
    "description": "Research Soil Scientist | Soil Health Modeling, Digital Soil Mapping & AI | Spectroscopy",
    "uuid": 37313555
  },
  "_jobs": [
    {
      "job": 123443237468,
      "time": 106,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12897265504"
    },
    {
      "job": 123443237288,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12897420018"
    },
    {
      "job": 123443237305,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12898647681"
    },
    {
      "job": 123443237283,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12899356677"
    },
    {
      "job": 123440558471,
      "time": 341,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12895404668"
    },
    {
      "job": 123443237236,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12896508290"
    },
    {
      "job": 123443237585,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12897210337"
    },
    {
      "job": 123443237366,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12896054579"
    },
    {
      "job": 123443237328,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12897270253"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117",
  "_commit": {
    "id": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
    "author": "Hugo Rodrigues <rodrigues.machado.hugo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.10\n",
    "time": 1787421002
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "prospectr",
      "role": "Suggests"
    },
    {
      "package": "pls",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.9",
      "date": "2026-03-17"
    },
    {
      "name": "0.1.10",
      "date": "2026-08-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hugomachadorodrigues",
      "count": 2,
      "uuid": 37313555
    }
  ],
  "_userbio": {
    "uuid": 37313555,
    "type": "user",
    "name": "Hugo Rodrigues",
    "followers": 14,
    "description": "Research Soil Scientist | Soil Health Modeling, Digital Soil Mapping & AI | Spectroscopy"
  },
  "_downloads": {
    "count": 195,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/soilVAE"
  },
  "_devurl": "https://github.com/hugomachadorodrigues/soilvae",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/soilVAE.html",
    "LICENSE"
  ],
  "_realowner": "hugomachadorodrigues",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.9",
      "date": "2026-03-17"
    },
    {
      "version": "0.1.10",
      "date": "2026-08-22"
    }
  ],
  "_exports": [
    "select_best_from_grid",
    "tune_vae_train_val",
    "vae_build",
    "vae_configure",
    "vae_encode",
    "vae_fit",
    "vae_predict"
  ],
  "_datasets": [
    {
      "name": "datsoilspc",
      "title": "Soil spectroscopy example dataset used in the soilVAE vignettes",
      "object": "datsoilspc",
      "file": "datsoilspc.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clay",
        "silt",
        "sand",
        "TotalCarbon",
        "spc"
      ],
      "rows": 391,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "datsoilspc",
      "title": "Soil spectroscopy example dataset used in the soilVAE vignettes",
      "topics": [
        "datsoilspc"
      ]
    },
    {
      "page": "select_best_from_grid",
      "title": "Select the best configuration from a tuning table",
      "topics": [
        "select_best_from_grid"
      ]
    },
    {
      "page": "tune_vae_train_val",
      "title": "Tune VAEReg on a train/validation split",
      "topics": [
        "tune_vae_train_val"
      ]
    },
    {
      "page": "vae_build",
      "title": "Build a supervised VAE regression model (VAEReg)",
      "topics": [
        "vae_build"
      ]
    },
    {
      "page": "vae_configure",
      "title": "Configure Python / reticulate for soilVAE",
      "topics": [
        "vae_configure"
      ]
    },
    {
      "page": "vae_encode",
      "title": "Extract latent embeddings (z) from VAEReg",
      "topics": [
        "vae_encode"
      ]
    },
    {
      "page": "vae_fit",
      "title": "Fit VAEReg",
      "topics": [
        "vae_fit"
      ]
    },
    {
      "page": "vae_predict",
      "title": "Predict y using VAEReg (via latent z -> y_head)",
      "topics": [
        "vae_predict"
      ]
    }
  ],
  "_readme": "https://github.com/cran/soilVAE/raw/HEAD/README.md",
  "_rundeps": [
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "png",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "index.Rmd",
      "filename": "index.html",
      "title": "soilVAE vignettes",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-03-17 19:10:02",
      "modified": "2026-03-17 19:10:02",
      "commits": 1
    },
    {
      "source": "soilVAE-workflow.Rmd",
      "filename": "soilVAE-workflow.html",
      "title": "soilVAE Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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)"
      ],
      "created": "2026-03-17 19:10:02",
      "modified": "2026-08-22 17:50:02",
      "commits": 2
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "soilvae",
  "_universes": [
    "hugomachadorodrigues"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-10-29T12:23:11.000Z",
      "distro": "resolute",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/df414ee356a40155982e6ef9d0b15e955699dd2ac2e09288ea023f87b54a258a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-10-29T12:23:08.000Z",
      "distro": "resolute",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/87dad13dba8e1ac7db938a5f833b471edc9f249168a499cb04a54a59bbbf8f2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-10-29T13:01:50.000Z",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/dba527b81ba5839ba47d1bdb0033477677627a94459e2d50d5c38cf40576980a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-10-29T13:01:37.000Z",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/0b87a7c17eea9fffc10f867af95746275b92abf12c18a794b4c173d6b7745427",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-10-29T12:23:12.000Z",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/93314efc8a7f5662bc52c64d0c59b673bdd65f7daf7e21d0d6f48bc065c5fa52",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-10-29T12:22:33.000Z",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/7f2b835e50957d3f1f94d8cc6bb31b48602eb8cf1a2c7fca9e8a70b4523db250",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-10-29T12:22:27.000Z",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/296f22d989672973333c56db7e3aecd968f3cfa2a9f2be7a11a2746309d3e533",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-10-29T12:22:38.000Z",
      "commit": "c180889b56ef8e9abb0d6b28bbea7736413c0880",
      "fileid": "https://r2.ropensci.org/351faff3e9dcd32385819c756c18430ef61a79fb6fc9c75f8f3196a72f4c51e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/40871791117"
    }
  ]
}