{
  "_id": "6ae5ac3695ca2370cc8d113a",
  "Package": "mlstm",
  "Type": "Package",
  "Title": "Multilevel Supervised Topic Models with Multiple Outcomes",
  "Version": "0.1.6",
  "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",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://thimeno1993.r-universe.dev",
  "Date/Publication": "2026-03-30 23:45:12 UTC",
  "RemoteUrl": "https://github.com/thimeno1993/mlstm",
  "RemoteRef": "HEAD",
  "RemoteSha": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-31 08:08:46 UTC",
    "User": "root"
  },
  "Author": "Tomoya Himeno [aut, cre]",
  "Maintainer": "Tomoya Himeno <bd24f002@g.hit-u.ac.jp>",
  "_user": "thimeno1993",
  "_type": "src",
  "_file": "mlstm_0.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/6b253a527c157ab6e673d133aeb4cbf94098597dd96bd9e9416ccdfa561d09cc",
  "_filesize": 211343,
  "_sha256": "6b253a527c157ab6e673d133aeb4cbf94098597dd96bd9e9416ccdfa561d09cc",
  "_expires": "2027-02-08T08:52:04.000Z",
  "_created": "2026-10-31T08:08:46.000Z",
  "_published": "2026-10-31T08:52:06.213Z",
  "_upstream": "https://github.com/thimeno1993/mlstm",
  "_status": "success",
  "_maintainer": {
    "name": "Tomoya Himeno",
    "email": "bd24f002@g.hit-u.ac.jp"
  },
  "_jobs": [
    {
      "job": 124485392857,
      "time": 123,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13035955522"
    },
    {
      "job": 124485392781,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13035634516"
    },
    {
      "job": 124485392770,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13035429912"
    },
    {
      "job": 124485392765,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036435414"
    },
    {
      "job": 124485392756,
      "time": 243,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13037275185"
    },
    {
      "job": 124485392723,
      "time": 565,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13036451207"
    },
    {
      "job": 124485392738,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036752963"
    },
    {
      "job": 124485392949,
      "time": 220,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13035852197"
    },
    {
      "job": 124484465220,
      "time": 269,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036135446"
    },
    {
      "job": 124485392744,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13035549675"
    },
    {
      "job": 124485392817,
      "time": 393,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036160658"
    },
    {
      "job": 124485392808,
      "time": 187,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13035059713"
    },
    {
      "job": 124485392852,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13035039997"
    },
    {
      "job": 124485392841,
      "time": 392,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13035664334"
    },
    {
      "job": 124485392798,
      "time": 145,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036320186"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709",
  "_commit": {
    "id": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
    "author": "thimeno1993 <thimeno1956@gmail.com>",
    "committer": "thimeno1993 <thimeno1956@gmail.com>",
    "message": "CRAN resubmission v0.1.6\n",
    "time": 1774914312
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "thimeno1993",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 20
    },
    {
      "week": "2026-14",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "thimeno1993",
      "count": 23,
      "uuid": 269939065
    }
  ],
  "_userbio": {
    "uuid": 269939065,
    "type": "user",
    "name": "thimeno1993",
    "followers": 0
  },
  "_downloads": {
    "count": 274,
    "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"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mlstm.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/thimeno1993/mlstm",
  "_realowner": "thimeno1993",
  "_cranurl": true,
  "_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/thimeno1993/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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-03-21 14:10:29",
      "modified": "2026-03-21 14:10:29",
      "commits": 1
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "mlstm",
  "_universes": [
    "thimeno1993"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-10-31T08:11:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/90efe83bbf5166a3ef5895a34f8abade89443b561180b6d77ff7246a90d2bc61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-10-31T08:11:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/1402ca82209b0a3ddde6d537d1d9a95e83cc5dc300b10f510b00625e42ccb1ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-10-31T08:11:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/42901271a381ea4bbc745f712a82f673d336b8795819525ed5f686517b1dac1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-10-31T08:11:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/733e84c3a018ac1b7c1a70d77fc2f3f87c932c7a8734dc3336f342f16ff4fcaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-10-31T08:50:27.000Z",
      "arch": "aarch64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/e24c5343dd10ff499d50e017f3bd14a17d417a544b30ed0e7df50740b5d9d803",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-10-31T08:22:47.000Z",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/87786f87c6ac988ede8ccfc1c279451dc995ad2a2f08136554acd917bd01344f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-10-31T08:36:20.000Z",
      "arch": "aarch64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/4dd6f3add36004179123f420d7a001b1797e2ebf2146f317fd9237a877d3695f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-10-31T08:26:10.000Z",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/e7096fe47e2ec5ed998f2eb87d5971ed7ff59c8e2b8322a7c553cfb669d4460f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.6",
      "date": "2026-10-31T08:11:24.000Z",
      "arch": "emscripten",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/d3342677eebb9b3442b57ea7d723742f42b17fa27817cc75e76338e88778d10f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-31T08:14:54.000Z",
      "arch": "aarch64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/892dca7eb7a019355630cb1bbb4e2313c2840cbc5c7c661b82c539a47d75ab6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-31T08:10:47.000Z",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/9013e12e50d5140529caa8a2318635951def4789956287eda5c02189f823e2b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-31T08:10:43.000Z",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/12cba69e53e6beb03db1c6a39272a116b4098f6564842da251c8f58459cd3460",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-31T08:14:44.000Z",
      "arch": "aarch64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/32e89bcd87c2930290de9cd9a91a9e15eac45bcb5ff2aae999a9de3b5cadcd9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-10-31T08:10:38.000Z",
      "arch": "x86_64",
      "commit": "d345ec5b4b5751cb8cb7b68706a487cd868e8e6d",
      "fileid": "https://r2.ropensci.org/5cb8e4bfb68cb063810e40ee486900224474567e16d2826f22214e5f8a289671",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thimeno1993/actions/runs/41183109709"
    }
  ]
}