{"id":15646185,"url":"https://github.com/nzw0301/lightlda","last_synced_at":"2025-04-30T11:55:17.504Z","repository":{"id":85563413,"uuid":"72928092","full_name":"nzw0301/lightLDA","owner":"nzw0301","description":"fast sampling algorithm based on CGS","archived":false,"fork":false,"pushed_at":"2020-03-20T14:09:10.000Z","size":8,"stargazers_count":50,"open_issues_count":0,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-25T07:41:05.913Z","etag":null,"topics":["lda","machine-learning","nlp","python","topic-modeling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nzw0301.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-11-05T13:33:28.000Z","updated_at":"2024-01-04T16:08:47.000Z","dependencies_parsed_at":"2023-07-20T12:01:26.683Z","dependency_job_id":null,"html_url":"https://github.com/nzw0301/lightLDA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzw0301%2FlightLDA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzw0301%2FlightLDA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzw0301%2FlightLDA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nzw0301%2FlightLDA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nzw0301","download_url":"https://codeload.github.com/nzw0301/lightLDA/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242650894,"owners_count":20163610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lda","machine-learning","nlp","python","topic-modeling"],"created_at":"2024-10-03T12:11:43.657Z","updated_at":"2025-03-09T05:30:20.904Z","avatar_url":"https://github.com/nzw0301.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightLDA.py\n\nThis repo is python reimplementation of [lightLDA](https://github.com/Microsoft/LightLDA).\n\nLightLDA is a topic scalable latent dirichlet allocation (LDA) algorithm that is proposed in [WWW paper](http://www.www2015.it/documents/proceedings/proceedings/p1351.pdf).\n\n## Examples\n\n```bash\n$ python lightlda\n\n# Word distributions per latent class\n## φ of latent class of 0\nword: probability\n安原絵麻: 0.346\nSHIROBAKO: 0.266\n万策尽きた: 0.161\n佳村はるか: 0.108\n武蔵野: 0.108\n城ヶ崎美嘉: 0.003\nデレマス: 0.003\n城ヶ崎莉嘉: 0.003\nカブトムシ: 0.003\n\n## φ of latent class of 1\nword: probability\n城ヶ崎美嘉: 0.357\nデレマス: 0.239\n佳村はるか: 0.180\n城ヶ崎莉嘉: 0.121\nカブトムシ: 0.091\n安原絵麻: 0.003\nSHIROBAKO: 0.003\n万策尽きた: 0.003\n武蔵野: 0.003\n\n# Topic distributions per document\n## Topic information of document 0\nPropotion of topics\ntopic: θ_{document_id, latent_class}\n0: 0.001\n1: 0.999\n\nAssigned latent class per word\nword: latent class\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\nデレマス: 1\nデレマス: 1\n佳村はるか: 1\n佳村はるか: 1\n佳村はるか: 1\n--------------\n\n## Topic information of document 1\nPropotion of topics\ntopic: θ_{document_id, latent_class}\n0: 0.001\n1: 0.999\n\nAssigned latent class per word\nword: latent class\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n佳村はるか: 1\nデレマス: 1\nデレマス: 1\n城ヶ崎莉嘉: 1\n城ヶ崎莉嘉: 1\nカブトムシ: 1\n--------------\n\n## Topic information of document 2\nPropotion of topics\ntopic: θ_{document_id, latent_class}\n0: 0.001\n1: 0.999\n\nAssigned latent class per word\nword: latent class\n城ヶ崎美嘉: 1\n城ヶ崎美嘉: 1\n佳村はるか: 1\n佳村はるか: 1\nデレマス: 1\nデレマス: 1\nデレマス: 1\nデレマス: 1\n城ヶ崎莉嘉: 1\n城ヶ崎莉嘉: 1\nカブトムシ: 1\nカブトムシ: 1\n--------------\n\n## Topic information of document 3\nPropotion of topics\ntopic: θ_{document_id, latent_class}\n0: 0.999\n1: 0.001\n\nAssigned latent class per word\nword: latent class\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n佳村はるか: 0\n佳村はるか: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\n万策尽きた: 0\n万策尽きた: 0\n--------------\n\n## Topic information of document 4\nPropotion of topics\ntopic: θ_{document_id, latent_class}\n0: 0.999\n1: 0.001\n\nAssigned latent class per word\nword: latent class\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n佳村はるか: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\n武蔵野: 0\n武蔵野: 0\n万策尽きた: 0\n--------------\n\n## Topic information of document 5\nPropotion of topics\ntopic: θ_{document_id, latent_class}\n0: 0.999\n1: 0.001\n\nAssigned latent class per word\nword: latent class\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n安原絵麻: 0\n佳村はるか: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\nSHIROBAKO: 0\n万策尽きた: 0\n万策尽きた: 0\n万策尽きた: 0\n武蔵野: 0\n武蔵野: 0\n--------------\n```\n\n## Reference\n\nYuan, Jinhui and Gao, Fei and Ho, Qirong and Dai, Wei and Wei, Jinliang and Zheng, Xun and Xing, Eric Po and Liu, Tie-Yan and Ma, Wei-Ying. LightLDA: Big Topic Models on Modest Computer Clusters.\n In _WWW_, 2015.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnzw0301%2Flightlda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnzw0301%2Flightlda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnzw0301%2Flightlda/lists"}