{
  "_id": "6a2d0bcb3efcd9bda42ef046",
  "Package": "mlstm",
  "Type": "Package",
  "Title": "Multilevel Supervised Topic Models with Multiple Outcomes",
  "Version": "0.1.7",
  "Authors@R": "person(\"Tomoya\", \"Himeno\", email = \"bd24f002@g.hit-u.ac.jp\", role = c(\"aut\", \"cre\"))",
  "Description": "Fits latent Dirichlet allocation (LDA), supervised topic\nmodels, and multilevel supervised topic models for text data\nwith multiple outcome variables. Core estimation routines are\nimplemented in C++ using the 'Rcpp' ecosystem. For topic\nmodels, see Blei et al. (2003)\n<https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf>. For\nsupervised topic models, see Blei and McAuliffe (2007)\n<https://papers.nips.cc/paper_files/paper/2007/hash/d56b9fc4b0f1be8871f5e1c40c0067e7-Abstract.html>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "C++17",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://thimeno1993.github.io/mlstm/",
  "BugReports": "https://github.com/thimeno1993/mlstm/issues",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-13 07:46:28 UTC",
    "User": "root"
  },
  "Author": "Tomoya Himeno [aut, cre]",
  "Maintainer": "Tomoya Himeno <bd24f002@g.hit-u.ac.jp>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-14 15:45:28 UTC",
  "RemoteUrl": "https://github.com/cran/mlstm",
  "RemoteRef": "HEAD",
  "RemoteSha": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
  "MD5sum": "2702a1461ad69bcee5c2b6cc02e110eb",
  "_user": "cran",
  "_type": "src",
  "_file": "mlstm_0.1.7.tar.gz",
  "_fileid": "135b44dcf6cc7659e7f41cb27bb6f6e7f78173e8efedccadfb7a36eeabe24e3f",
  "_filesize": 215365,
  "_sha256": "135b44dcf6cc7659e7f41cb27bb6f6e7f78173e8efedccadfb7a36eeabe24e3f",
  "_created": "2026-06-13T07:46:28.000Z",
  "_published": "2026-06-13T07:50:35.829Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81173984864,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608791663"
    },
    {
      "job": 81173984866,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608790903"
    },
    {
      "job": 81173984868,
      "time": 192,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608796748"
    },
    {
      "job": 81173984857,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608791623"
    },
    {
      "job": 81173762178,
      "time": 219,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608773304"
    },
    {
      "job": 81173984859,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608791887"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27460679204",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/mlstm",
  "_commit": {
    "id": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
    "author": "Tomoya Himeno <bd24f002@g.hit-u.ac.jp>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.7\n",
    "time": 1776181528
  },
  "_maintainer": {
    "name": "Tomoya Himeno",
    "email": "bd24f002@g.hit-u.ac.jp"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.6",
      "date": "2026-04-03"
    },
    {
      "name": "0.1.7",
      "date": "2026-04-14"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 439,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlstm"
  },
  "_devurl": "https://github.com/thimeno1993/mlstm",
  "_pkgdown": "https://thimeno1993.github.io/mlstm/",
  "_searchresults": 5,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mlstm.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thimeno1993/mlstm",
  "_realowner": "thimeno1993",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.6",
      "date": "2026-04-03"
    },
    {
      "version": "0.1.7",
      "date": "2026-04-14"
    }
  ],
  "_exports": [
    "eLDA_pass_b_fast",
    "init_mod_from_count",
    "run_lda_gibbs",
    "run_mlstm_vi",
    "run_stm_vi",
    "set_threads",
    "stm_multi_hier_vi_parallel",
    "stm_vi_parallel"
  ],
  "_help": [
    {
      "page": "eLDA_pass_b_fast",
      "title": "One Gibbs sampling sweep for LDA (collapsed) using document–term list.",
      "topics": [
        "eLDA_pass_b_fast"
      ]
    },
    {
      "page": "init_mod_from_count",
      "title": "Initialize LDA/STM state from a (d, v, c) sparse count matrix.",
      "topics": [
        "init_mod_from_count"
      ]
    },
    {
      "page": "run_lda_gibbs",
      "title": "Collapsed LDA Gibbs sampling for sparse (d, v, c) triplet data.",
      "topics": [
        "run_lda_gibbs"
      ]
    },
    {
      "page": "run_mlstm_vi",
      "title": "Multi-level supervised topic model (MLSTM) via variational inference.",
      "topics": [
        "run_mlstm_vi"
      ]
    },
    {
      "page": "run_stm_vi",
      "title": "Supervised topic model (STM) variational inference with ELBO-based convergence.",
      "topics": [
        "run_stm_vi"
      ]
    },
    {
      "page": "set_threads",
      "title": "Set threading options for STM/MLSTM computations",
      "topics": [
        "set_threads"
      ]
    },
    {
      "page": "stm_multi_hier_vi_parallel",
      "title": "Variational inference for multi-output supervised topic models with hierarchical prior.",
      "topics": [
        "stm_multi_hier_vi_parallel"
      ]
    },
    {
      "page": "stm_vi_parallel",
      "title": "Variational inference for supervised LDA (single continuous response).",
      "topics": [
        "stm_vi_parallel"
      ]
    }
  ],
  "_readme": "https://github.com/cran/mlstm/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "data.table",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "mlstm-intro.Rmd",
      "filename": "mlstm-intro.html",
      "title": "Introduction to mlstm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Simulated corpus",
        "LDA",
        "STM",
        "MLSTM",
        "Notes",
        "Session info"
      ],
      "created": "2026-04-03 10:06:34",
      "modified": "2026-04-03 10:06:34",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "mlstm",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://thimeno1993.r-universe.dev/mlstm",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-06-13T07:49:01.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
      "fileid": "2260c3aa6be66e459a93497475267fa49a312b410f9f197f8cb20284f3c0b782",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460679204"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-06-13T07:48:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
      "fileid": "94068aa30e7556079151ebe10a93bde6302fb25dde462c5ec54b0167ae36c3a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460679204"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-06-13T07:49:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
      "fileid": "b4f32935151818695995aee176e8159631ed697de4ad768c8927633e3da98f38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460679204"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.7",
      "date": "2026-06-13T07:49:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
      "fileid": "c252b9ea66d52ec26e108e332b9d95072ac29c111faca95f25513df7c349341c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460679204"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.7",
      "date": "2026-06-13T07:49:15.000Z",
      "arch": "emscripten",
      "commit": "d0a7a859af3deec5ac8aa974b5fa1570186a672c",
      "fileid": "9fff2078ecaac5af7147c6c243b1e8d8fdbcf6d53b3372190e43ec839dedb70e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27460679204"
    }
  ]
}