{
  "_id": "6a26679f794753ddbc3e6ccb",
  "Package": "lda",
  "Type": "Package",
  "Title": "Collapsed Gibbs Sampling Methods for Topic Models",
  "Version": "1.5.2",
  "Date": "2024-04-25",
  "Author": "Jonathan Chang",
  "Maintainer": "Santiago Olivella <olivella@unc.edu>",
  "Description": "Implements latent Dirichlet allocation (LDA) and related\nmodels.  This includes (but is not limited to) sLDA, corrLDA,\nand the mixed-membership stochastic blockmodel.  Inference for\nall of these models is implemented via a fast collapsed Gibbs\nsampler written in C.  Utility functions for reading/writing\ndata typically used in topic models, as well as tools for\nexamining posterior distributions are also included.",
  "License": "LGPL (>= 2.1)",
  "LazyLoad": "yes",
  "Repository": "https://solivella.r-universe.dev",
  "Date/Publication": "2024-04-26 21:29:21 UTC",
  "RemoteUrl": "https://github.com/solivella/lda",
  "RemoteRef": "HEAD",
  "RemoteSha": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-08 06:52:53 UTC",
    "User": "root"
  },
  "MD5sum": "27b6d12c0b94f14cc8a168a62dc5dbb6",
  "_user": "solivella",
  "_type": "src",
  "_file": "lda_1.5.2.tar.gz",
  "_fileid": "6c7cd1cb2a6b0c0f09e4eefd6fc65cf230e3c2761cc59656fa5a7311f1b8a9ff",
  "_filesize": 7211206,
  "_sha256": "6c7cd1cb2a6b0c0f09e4eefd6fc65cf230e3c2761cc59656fa5a7311f1b8a9ff",
  "_created": "2026-06-08T06:52:53.000Z",
  "_published": "2026-06-08T06:56:31.795Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80037930443,
      "time": 157,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7473401524"
    },
    {
      "job": 80037930461,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7473396674"
    },
    {
      "job": 80037930538,
      "time": 123,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7473392314"
    },
    {
      "job": 80037930453,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7473391147"
    },
    {
      "job": 80037930528,
      "time": 61,
      "config": "macos-oldrel-arm64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80037930562,
      "time": 97,
      "config": "macos-oldrel-x86_64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80037930595,
      "time": 59,
      "config": "macos-release-arm64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80037930438,
      "time": 168,
      "config": "macos-release-x86_64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80037484846,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473360925"
    },
    {
      "job": 80037930421,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473386489"
    },
    {
      "job": 80037930412,
      "time": 129,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7473393835"
    },
    {
      "job": 80037930424,
      "time": 63,
      "config": "windows-oldrel",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80037930569,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7473394858"
    }
  ],
  "_buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/solivella/lda",
  "_commit": {
    "id": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
    "author": "Santiago Olivella <olivella@unc.edu>",
    "committer": "Santiago Olivella <olivella@unc.edu>",
    "message": "Fix format of long int\n",
    "time": 1714166961
  },
  "_maintainer": {
    "name": "Santiago Olivella",
    "email": "olivella@unc.edu",
    "login": "solivella",
    "description": "",
    "uuid": 13560956
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "version": ">= 4.3.0",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.4",
      "role": "Suggests"
    },
    {
      "package": "penalized",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    }
  ],
  "_owner": "solivella",
  "_selfowned": true,
  "_usedby": 11,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "solivella",
      "count": 13,
      "uuid": 13560956
    }
  ],
  "_userbio": {
    "uuid": 13560956,
    "type": "user",
    "name": "Santiago Olivella"
  },
  "_downloads": {
    "count": 5739,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lda"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/solivella/lda",
  "_searchresults": 550,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lda.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/solivella/lda",
  "_realowner": "solivella",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2009-09-29"
    },
    {
      "version": "1.2",
      "date": "2010-03-08"
    },
    {
      "version": "1.2.1",
      "date": "2010-07-03"
    },
    {
      "version": "1.2.2",
      "date": "2010-10-18"
    },
    {
      "version": "1.2.3",
      "date": "2010-10-25"
    },
    {
      "version": "1.3",
      "date": "2011-10-27"
    },
    {
      "version": "1.3.1",
      "date": "2011-11-03"
    },
    {
      "version": "1.3.2",
      "date": "2012-10-14"
    },
    {
      "version": "1.4.2",
      "date": "2015-11-22"
    },
    {
      "version": "1.5.2",
      "date": "2024-04-27"
    }
  ],
  "_exports": [
    "concatenate.documents",
    "document.lengths",
    "filter.words",
    "lda.collapsed.gibbs.sampler",
    "lda.cvb0",
    "lexicalize",
    "links.as.edgelist",
    "mmsb.collapsed.gibbs.sampler",
    "nubbi.collapsed.gibbs.sampler",
    "predictive.distribution",
    "predictive.link.probability",
    "read.documents",
    "read.vocab",
    "rtm.collapsed.gibbs.sampler",
    "rtm.em",
    "shift.word.indices",
    "slda.em",
    "slda.predict",
    "slda.predict.docsums",
    "top.topic.documents",
    "top.topic.words",
    "word.counts"
  ],
  "_datasets": [
    {
      "name": "cora.cites",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.cites",
      "file": "cora.cites.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cora.documents",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.documents",
      "file": "cora.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cora.titles",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.titles",
      "file": "cora.titles.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cora.vocab",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.vocab",
      "file": "cora.vocab.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.label.map",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.label.map",
      "file": "newsgroup.label.map.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "newsgroup.test.documents",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.test.documents",
      "file": "newsgroup.test.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.test.labels",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.test.labels",
      "file": "newsgroup.test.labels.rda",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.train.documents",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.train.documents",
      "file": "newsgroup.train.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.train.labels",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.train.labels",
      "file": "newsgroup.train.labels.rda",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.vocab",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.vocab",
      "file": "newsgroup.vocab.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "poliblog.documents",
      "title": "A collection of political blogs with ratings.",
      "object": "poliblog.documents",
      "file": "poliblog.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "poliblog.ratings",
      "title": "A collection of political blogs with ratings.",
      "object": "poliblog.ratings",
      "file": "poliblog.ratings.rda",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "poliblog.vocab",
      "title": "A collection of political blogs with ratings.",
      "object": "poliblog.vocab",
      "file": "poliblog.vocab.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sampson",
      "title": "Sampson monk data",
      "object": "sampson",
      "file": "sampson.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "lda-package",
      "title": "Collapsed Gibbs Sampling Methods for Topic Models",
      "topics": [
        "lda-package",
        "lda"
      ]
    },
    {
      "page": "cora",
      "title": "A subset of the Cora dataset of scientific documents.",
      "topics": [
        "cora",
        "cora.cites",
        "cora.documents",
        "cora.titles",
        "cora.vocab"
      ]
    },
    {
      "page": "filter.words",
      "title": "Functions to manipulate text corpora in LDA format.",
      "topics": [
        "concatenate.documents",
        "filter.words",
        "shift.word.indices"
      ]
    },
    {
      "page": "lda.collapsed.gibbs.sampler",
      "title": "Functions to Fit LDA-type models",
      "topics": [
        "lda.collapsed.gibbs.sampler",
        "lda.cvb0",
        "mmsb.collapsed.gibbs.sampler",
        "slda.em"
      ]
    },
    {
      "page": "lexicalize",
      "title": "Generate LDA Documents from Raw Text",
      "topics": [
        "lexicalize"
      ]
    },
    {
      "page": "links.as.edgelist",
      "title": "Convert a set of links keyed on source to a single list of edges.",
      "topics": [
        "links.as.edgelist"
      ]
    },
    {
      "page": "newsgroups",
      "title": "A collection of newsgroup messages with classes.",
      "topics": [
        "newsgroup",
        "newsgroup.label.map",
        "newsgroup.test.documents",
        "newsgroup.test.labels",
        "newsgroup.train.documents",
        "newsgroup.train.labels",
        "newsgroup.vocab"
      ]
    },
    {
      "page": "nubbi.collapsed.gibbs.sampler",
      "title": "Collapsed Gibbs Sampling for the Networks Uncovered By Bayesian Inference (NUBBI) Model.",
      "topics": [
        "nubbi.collapsed.gibbs.sampler"
      ]
    },
    {
      "page": "poliblog",
      "title": "A collection of political blogs with ratings.",
      "topics": [
        "poliblog",
        "poliblog.documents",
        "poliblog.ratings",
        "poliblog.vocab"
      ]
    },
    {
      "page": "predictive.distribution",
      "title": "Compute predictive distributions for fitted LDA-type models.",
      "topics": [
        "predictive.distribution"
      ]
    },
    {
      "page": "predictive.link.probability",
      "title": "Use the RTM to predict whether a link exists between two documents.",
      "topics": [
        "predictive.link.probability"
      ]
    },
    {
      "page": "read.documents",
      "title": "Read LDA-formatted Document and Vocabulary Files",
      "topics": [
        "read.documents",
        "read.vocab"
      ]
    },
    {
      "page": "rtm.collapsed.gibbs.sampler",
      "title": "Collapsed Gibbs Sampling for the Relational Topic Model (RTM).",
      "topics": [
        "rtm.collapsed.gibbs.sampler",
        "rtm.em"
      ]
    },
    {
      "page": "sampson",
      "title": "Sampson monk data",
      "topics": [
        "sampson"
      ]
    },
    {
      "page": "slda.predict",
      "title": "Predict the response variable of documents using an sLDA model.",
      "topics": [
        "slda.predict",
        "slda.predict.docsums"
      ]
    },
    {
      "page": "top.topic.words",
      "title": "Get the Top Words and Documents in Each Topic",
      "topics": [
        "top.topic.documents",
        "top.topic.words"
      ]
    },
    {
      "page": "word.counts",
      "title": "Compute Summary Statistics of a Corpus",
      "topics": [
        "document.lengths",
        "word.counts"
      ]
    }
  ],
  "_readme": "https://github.com/solivella/lda/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 7.716682858455108,
  "_indexed": true,
  "_nocasepkg": "lda",
  "_universes": [
    "solivella"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-05-09T09:19:54.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "fc019df1f49572344ea3a429994aac7925d73fffc766fd3ff2ceab9e808e6d67",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/25597430757"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-05-09T09:21:42.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "2a87a8b4037514d9722021bc8454bac62dab6ad458253221e90917c0dcece375",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/25597430757"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-05-09T09:21:45.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "b55d8e6f0f88f20df85b3a711c393f0ed5b4554022396e413f2ea6fd9f6ac0ec",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/25597430757"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-05-09T09:22:25.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "86349ea728271ab1321a348f1367d213f0792315c93ac040345b2ed9f3a4281c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/25597430757"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-05-09T09:18:55.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "8b5aa059213edf3cc808d58893874fc70d855d8c8714996a173decaace58c14d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/25597430757"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-08T06:55:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "b06e08ebb80ac02ba8efa61d12edf31a58ad69b2f78b2cea9404a8ad1d7a1e73",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-08T06:55:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "ad37f5c5ec8c9d7c303e0117f6052472b1c128eb6f9288cd070a6a5e005fda75",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-08T06:54:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "4bcee231306bbca7659d83a3714fa6335df0c6d994fe7d102429ac03f98fd155",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-08T06:54:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "5db76eabce4b8b420783a530c56f8b71896dc9b0652b473e0f86eeb3b3a1eecd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-06-08T06:55:00.000Z",
      "arch": "emscripten",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "e15da9e5319c05025712ea2cf44ce0ffaed118e7e7b9cdbe9872f62a94dc4267",
      "status": "success",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-08T06:54:42.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "cb4f8c1622c2a3a97e5f4fcaa6abf0ba0de62882b86b14d7236f1130c543062f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-08T06:54:40.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "7b8d6ec50bb39fceb0db4e0d995aa60ec6b8a84fbe7ecabd67028eb33331b3e9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/27120860230"
    }
  ]
}