{
  "_id": "6a0fed0facfb0bcc41c73ced",
  "Package": "ML2Pvae",
  "Type": "Package",
  "Title": "Variational Autoencoder Models for IRT Parameter Estimation",
  "Version": "1.0.0.1",
  "Authors@R": "c(\nperson(\"Geoffrey\", \"Converse\", email = \"converseg@gmail.com\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Suely\", \"Oliveira\", email = \"suely-oliveira@uiowa.edu\", role = c(\"ctb\", \"ths\")),\nperson(\"Mariana\", \"Curi\", email = \"mcuri@icmc.usp.br\", role = c(\"ctb\"))\n)",
  "Maintainer": "Geoffrey Converse <converseg@gmail.com>",
  "Description": "Based on the work of Curi, Converse, Hajewski, and\nOliveira (2019) <doi:10.1109/IJCNN.2019.8852333>. This package\nprovides easy-to-use functions which create a variational\nautoencoder (VAE) to be used for parameter estimation in Item\nResponse Theory (IRT) - namely the Multidimensional Logistic\n2-Parameter (ML2P) model. To use a neural network as such,\nnontrivial modifications to the architecture must be made, such\nas restricting the nonzero weights in the decoder according to\nsome binary matrix Q. The functions in this package allow for\nstraight-forward construction, training, and evaluation so that\nminimal knowledge of 'tensorflow' or 'keras' is required.",
  "Note": "The developer version of 'keras' should be used, rather than the\nCRAN version. The latter will cause tests to fail on an initial\nrun, but work on subsequent tries. To avoid this, use\ndevtools::install_github(\"rstudio/keras\"). The user also must\nhave an installation of 'Python 3'.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "R.rsp",
  "URL": "https://converseg.github.io",
  "SystemRequirements": "TensorFlow (https://www.tensorflow.org), Keras\n(https://keras.io), TensorFlow Probability\n(https://www.tensorflow.org/probability)",
  "Config/reticulate": "list( packages = list( list(package = \"keras\", pip =\nTRUE), list(package = \"tensorflow\", pip = TRUE), list(package =\n\"tensorflow-probability\", pip = TRUE) ) )",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 09:32:37 UTC",
    "User": "root"
  },
  "Author": "Geoffrey Converse [aut, cre, cph], Suely Oliveira [ctb, ths],\nMariana Curi [ctb]",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://converseg.r-universe.dev",
  "Date/Publication": "2022-05-23 07:02:16 UTC",
  "RemoteUrl": "https://github.com/cran/ML2Pvae",
  "RemoteRef": "HEAD",
  "RemoteSha": "692b9d583ce70046b726d0d7025c56bf83201836",
  "MD5sum": "6564e8eaa0454ef52761cdd2a8288af6",
  "_user": "converseg",
  "_type": "src",
  "_file": "ML2Pvae_1.0.0.1.tar.gz",
  "_fileid": "b828c716e1819b00e27a8e5860f182fef6b9ea2635fff3ba4319efdb378e229f",
  "_filesize": 313328,
  "_sha256": "b828c716e1819b00e27a8e5860f182fef6b9ea2635fff3ba4319efdb378e229f",
  "_created": "2026-05-21T09:32:37.000Z",
  "_published": "2026-05-22T05:43:43.697Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77323153699,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7132263776"
    },
    {
      "job": 77323153738,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7132258745"
    },
    {
      "job": 77323153620,
      "time": 149,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7132266071"
    },
    {
      "job": 77323153670,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7132254669"
    },
    {
      "job": 77323153414,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132219554"
    },
    {
      "job": 77323153661,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146191721"
    },
    {
      "job": 77323153692,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7132254176"
    },
    {
      "job": 77323153831,
      "time": 72,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7132245556"
    },
    {
      "job": 77323153476,
      "time": 70,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7153569487"
    }
  ],
  "_buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ML2Pvae",
  "_commit": {
    "id": "692b9d583ce70046b726d0d7025c56bf83201836",
    "author": "Geoffrey Converse <converseg@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0.1\n",
    "time": 1653289336
  },
  "_maintainer": {
    "name": "Geoffrey Converse",
    "email": "converseg@gmail.com",
    "login": "converseg",
    "description": "",
    "uuid": 19780889
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "keras",
      "version": ">= 2.3.0",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "tensorflow",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "tfprobability",
      "version": ">= 0.11.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "converseg",
      "count": 2,
      "uuid": 19780889
    }
  ],
  "_userbio": {
    "uuid": 19780889,
    "type": "user",
    "name": "Geoff Converse"
  },
  "_downloads": {
    "count": 236,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ML2Pvae"
  },
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ML2Pvae.html",
    "manual.pdf"
  ],
  "_realowner": "converseg",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-11-16"
    },
    {
      "version": "1.0.0.1",
      "date": "2022-05-23"
    }
  ],
  "_exports": [
    "build_vae_correlated",
    "build_vae_independent",
    "get_ability_parameter_estimates",
    "get_item_parameter_estimates",
    "train_model"
  ],
  "_datasets": [
    {
      "name": "correlation_matrix",
      "title": "Simulated latent abilities correlation matrix",
      "object": "correlation_matrix",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "diff_true",
      "title": "Simulated difficulty parameters",
      "object": "diff_true",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "disc_true",
      "title": "Simulated discrimination parameters",
      "object": "disc_true",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "q_matrix",
      "title": "Simulated Q-matrix",
      "object": "q_matrix",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "responses",
      "title": "Response data",
      "object": "responses",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "theta_true",
      "title": "Simulated ability parameters",
      "object": "theta_true",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dot-onLoad",
      "title": "Display a message upon loading package",
      "topics": [
        ".onLoad"
      ]
    },
    {
      "page": "build_hidden_encoder",
      "title": "Build the encoder for a VAE",
      "topics": [
        "build_hidden_encoder"
      ]
    },
    {
      "page": "build_vae_correlated",
      "title": "Build a VAE that fits to a normal, full covariance N(m,S) latent distribution",
      "topics": [
        "build_vae_correlated"
      ]
    },
    {
      "page": "build_vae_independent",
      "title": "Build a VAE that fits to a standard N(0,I) latent distribution with independent latent traits",
      "topics": [
        "build_vae_independent"
      ]
    },
    {
      "page": "correlation_matrix",
      "title": "Simulated latent abilities correlation matrix",
      "topics": [
        "correlation_matrix"
      ]
    },
    {
      "page": "diff_true",
      "title": "Simulated difficulty parameters",
      "topics": [
        "diff_true"
      ]
    },
    {
      "page": "disc_true",
      "title": "Simulated discrimination parameters",
      "topics": [
        "disc_true"
      ]
    },
    {
      "page": "get_ability_parameter_estimates",
      "title": "Feed forward response sets through the encoder, which outputs student ability estimates",
      "topics": [
        "get_ability_parameter_estimates"
      ]
    },
    {
      "page": "get_item_parameter_estimates",
      "title": "Get trainable variables from the decoder, which serve as item parameter estimates.",
      "topics": [
        "get_item_parameter_estimates"
      ]
    },
    {
      "page": "ML2Pvae",
      "title": "ML2Pvae: A package for creating a VAE whose decoder recovers the parameters of the ML2P model. The encoder can be used to predict the latent skills based on assessment scores.",
      "topics": [
        "ML2Pvae"
      ]
    },
    {
      "page": "q_1pl_constraint",
      "title": "A custom kernel constraint function that forces nonzero weights to be equal to one, so the VAE will estimate the 1-parameter logistic model. Nonzero weights are determined by the Q matrix.",
      "topics": [
        "q_1pl_constraint"
      ]
    },
    {
      "page": "q_constraint",
      "title": "A custom kernel constraint function that restricts weights between the learned distribution and output. Nonzero weights are determined by the Q matrix.",
      "topics": [
        "q_constraint"
      ]
    },
    {
      "page": "q_matrix",
      "title": "Simulated Q-matrix",
      "topics": [
        "q_matrix"
      ]
    },
    {
      "page": "responses",
      "title": "Response data",
      "topics": [
        "responses"
      ]
    },
    {
      "page": "sampling_correlated",
      "title": "A reparameterization in order to sample from the learned multivariate normal distribution of the VAE",
      "topics": [
        "sampling_correlated"
      ]
    },
    {
      "page": "sampling_independent",
      "title": "A reparameterization in order to sample from the learned standard normal distribution of the VAE",
      "topics": [
        "sampling_independent"
      ]
    },
    {
      "page": "theta_true",
      "title": "Simulated ability parameters",
      "topics": [
        "theta_true"
      ]
    },
    {
      "page": "train_model",
      "title": "Trains a VAE or autoencoder model. This acts as a wrapper for keras::fit().",
      "topics": [
        "train_model"
      ]
    },
    {
      "page": "vae_loss_correlated",
      "title": "A custom loss function for a VAE learning a multivariate normal distribution with a full covariance matrix",
      "topics": [
        "vae_loss_correlated"
      ]
    },
    {
      "page": "vae_loss_independent",
      "title": "A custom loss function for a VAE learning a standard normal distribution",
      "topics": [
        "vae_loss_independent"
      ]
    },
    {
      "page": "validate_inputs",
      "title": "Give error messages for invalid inputs in exported functions.",
      "topics": [
        "validate_inputs"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "cli",
    "config",
    "generics",
    "glue",
    "here",
    "jsonlite",
    "keras",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "png",
    "processx",
    "ps",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "tensorflow",
    "tfautograph",
    "tfprobability",
    "tfruns",
    "tidyselect",
    "vctrs",
    "whisker",
    "withr",
    "yaml",
    "zeallot"
  ],
  "_vignettes": [
    {
      "source": "ml2p_vae_vignette.pdf.asis",
      "filename": "ml2p_vae_vignette.pdf",
      "title": "ML2Pvae: Variational Autoencoder Models for IRT Parameter Estimation",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2020-11-16 08:10:12",
      "modified": "2020-11-16 08:10:12",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "ml2pvae",
  "_universes": [
    "converseg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.1",
      "date": "2026-05-21T09:34:40.000Z",
      "distro": "noble",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "ae78eb6809eb2d268f428a5322262e10b5bdda7a8acf77f674a5d2a9409547c2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0.1",
      "date": "2026-05-21T09:34:27.000Z",
      "distro": "noble",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "3071d4e5bdb64320fd75bff45f6f3eac9d86df40244d5e0909e5ae702f610c28",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.1",
      "date": "2026-05-21T09:34:51.000Z",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "bb2a837cfdbc6ae2a0483add4606d98fbb98496debe0b22e09b4a8f490e62745",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0.1",
      "date": "2026-05-21T09:34:20.000Z",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "130b190dd5a0bc729c5997c88fd23cd9b76bfeeb7783f67078683448068d3cd5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.1",
      "date": "2026-05-21T20:15:10.000Z",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "dc7cc39436c5038273214c47109d5df90f849319ee796205a2457acd8cdded45",
      "status": "success",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.1",
      "date": "2026-05-21T09:34:07.000Z",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "9d784a8bae78216cf03fd8d7b23ca148f3477cb083740f2caa969c61a1afc4aa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.1",
      "date": "2026-05-21T09:33:44.000Z",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "d3ee6cedb6a90592ba2f8b6912d0832fc62cef02ffd4b26d9e13af42d56915bc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0.1",
      "date": "2026-05-22T05:43:11.000Z",
      "commit": "692b9d583ce70046b726d0d7025c56bf83201836",
      "fileid": "06651b4c851c04daf487903e3a1e2eaa07e2acc1f1fc4e850a180449aea8496f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/converseg/actions/runs/26217664655"
    }
  ]
}