{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3659","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3659/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3659/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3659/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/3659","id":42685102,"number":3659,"title":"[MRG + 1] implementing LDA(Latent Dirichlet Allocation) with online variational Bayes","user":{"login":"chyikwei","id":2423442,"avatar_url":"https://avatars.githubusercontent.com/u/2423442?v=3","gravatar_id":"","url":"https://api.github.com/users/chyikwei","html_url":"https://github.com/chyikwei","followers_url":"https://api.github.com/users/chyikwei/followers","following_url":"https://api.github.com/users/chyikwei/following{/other_user}","gists_url":"https://api.github.com/users/chyikwei/gists{/gist_id}","starred_url":"https://api.github.com/users/chyikwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chyikwei/subscriptions","organizations_url":"https://api.github.com/users/chyikwei/orgs","repos_url":"https://api.github.com/users/chyikwei/repos","events_url":"https://api.github.com/users/chyikwei/events{/privacy}","received_events_url":"https://api.github.com/users/chyikwei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":122,"created_at":"2014-09-13T02:28:48Z","updated_at":"2015-08-13T18:22:24Z","closed_at":"2015-08-09T17:13:01Z","pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/3659","html_url":"https://github.com/scikit-learn/scikit-learn/pull/3659","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/3659.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/3659.patch"},"body":"This PR is an implementation of Matt Hoffman's topic modeling algorithm `LDA with online variational Bayes`.\r\n\r\nBased on previous discussion in [this email thread](http://sourceforge.net/p/scikit-learn/mailman/message/32748341/), I asked Matt if he could relicense his `onlineldavb` code to BSD. And now his code is relicensed, so I create a PR for it.\r\n\r\nI use the name `OnlineLDA` for this model and put it in `decomposition` folder. And since the model can run both online and batch update, I implemented both `fit` and `partial_fit` method.\r\nThe algorithm part and unit test is done and ready for review. Will work on an example next.\r\n\r\n###### Check List:\r\n- [X] algorithm implementation\r\n- [X] unit test \r\n- [X] profiling\r\n- [x] optimization\r\n- [X] example\r\n- [x] documentation\r\n\r\n###### Reference:\r\n[1] [\"Online Learning for Latent Dirichlet Allocation\", Matthew D. Hoffman, David M. Blei, Francis Bach](https://www.cs.princeton.edu/~blei/papers/HoffmanBleiBach2010b.pdf)\r\n[2] [original onlineldavb code (with BSD license)](https://www.dropbox.com/s/wnkro3xtqjm7bli/onlineldavb_bsd.tar)"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/130788432","html_url":"https://github.com/scikit-learn/scikit-learn/pull/3659#issuecomment-130788432","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/3659","id":130788432,"user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T18:22:24Z","updated_at":"2015-08-13T18:22:24Z","body":"Maybe just add to the licence header \"relicenced as BSD with the kind permission of Matt Hoffmann\"?"}}