-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author-topic model #893
Author-topic model #893
Commits on Sep 25, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 2e8f3cb - Browse repository at this point
Copy the full SHA 2e8f3cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a21059e - Browse repository at this point
Copy the full SHA a21059eView commit details
Commits on Sep 27, 2016
-
Configuration menu - View commit details
-
Copy full SHA for a9bddaa - Browse repository at this point
Copy the full SHA a9bddaaView commit details
Commits on Sep 29, 2016
-
Using max change instead of mean change criterion. Computing a differ…
…ent likelihood measure. OnlineAtVb now extends (inherits) LdaModel. Other minor changes.
Configuration menu - View commit details
-
Copy full SHA for 7ea76f2 - Browse repository at this point
Copy the full SHA 7ea76f2View commit details
Commits on Sep 30, 2016
-
Fixed some things with var_mu. Also was passing the wrong arguments t…
…o eval_liklihood.
Configuration menu - View commit details
-
Copy full SHA for 839a8b3 - Browse repository at this point
Copy the full SHA 839a8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd13c60 - Browse repository at this point
Copy the full SHA bd13c60View commit details
Commits on Oct 9, 2016
-
Fixed log normalization. Also changed symmetric initilization of hype…
…rparameters. Updated notebook accordingly.
Configuration menu - View commit details
-
Copy full SHA for ebc808c - Browse repository at this point
Copy the full SHA ebc808cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16b26f7 - Browse repository at this point
Copy the full SHA 16b26f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d2b36 - Browse repository at this point
Copy the full SHA 10d2b36View commit details
Commits on Oct 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c94f516 - Browse repository at this point
Copy the full SHA c94f516View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d758f - Browse repository at this point
Copy the full SHA a1d758fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46cc8bf - Browse repository at this point
Copy the full SHA 46cc8bfView commit details
Commits on Oct 11, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 3e53655 - Browse repository at this point
Copy the full SHA 3e53655View commit details
Commits on Oct 12, 2016
-
Changed the way the data structure is prepared and how the model acce…
…pts it. Still work to be done in that area.
Configuration menu - View commit details
-
Copy full SHA for 09666c4 - Browse repository at this point
Copy the full SHA 09666c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a562fca - Browse repository at this point
Copy the full SHA a562fcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de43a5 - Browse repository at this point
Copy the full SHA 0de43a5View commit details
Commits on Oct 13, 2016
-
Ran some very successful experiments on 286 documents. Offline algori…
…thm works. Updated notebook.
Configuration menu - View commit details
-
Copy full SHA for a892564 - Browse repository at this point
Copy the full SHA a892564View commit details
Commits on Oct 14, 2016
-
Changed the online algorithm according to all the changes that have h…
…appened to the offline lately.
Configuration menu - View commit details
-
Copy full SHA for 388a5e9 - Browse repository at this point
Copy the full SHA 388a5e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b2a896 - Browse repository at this point
Copy the full SHA 2b2a896View commit details -
Fixed lambda update, multiplication by size of corpus was missing. Re…
…moved author_prior_prob from mu update.
Configuration menu - View commit details
-
Copy full SHA for 3756435 - Browse repository at this point
Copy the full SHA 3756435View commit details -
Added a loop for passing over entire corpus. Discarded use of log_nor…
…malize. Various other changes.
Configuration menu - View commit details
-
Copy full SHA for ed3416d - Browse repository at this point
Copy the full SHA ed3416dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 994f212 - Browse repository at this point
Copy the full SHA 994f212View commit details -
Configuration menu - View commit details
-
Copy full SHA for 956fbd5 - Browse repository at this point
Copy the full SHA 956fbd5View commit details -
Computing rho in a different way. Added the possibility to evaluate o…
…nly occasionally. Updated notebook.
Configuration menu - View commit details
-
Copy full SHA for 40bbabf - Browse repository at this point
Copy the full SHA 40bbabfView commit details
Commits on Oct 17, 2016
-
Implemented hyperparam MLE for eta and alpha in offline algo. Removed…
… use of log_normalize in offline algo. Update notebook.
Configuration menu - View commit details
-
Copy full SHA for ed96b23 - Browse repository at this point
Copy the full SHA ed96b23View commit details -
Made it possible to sample a subset of documents in lambda update to …
…speed up large experiments. Made it possible to initialize the model with LDA topics (lambda).
Configuration menu - View commit details
-
Copy full SHA for a225399 - Browse repository at this point
Copy the full SHA a225399View commit details
Commits on Oct 18, 2016
-
Now, if LDA topics are supplied lambda is not estimated at all. Added…
… a small number to mu and phi normalization term to avoid divide by zero. Made some comments (NOTEs and TODOs) about numerical stability.
Configuration menu - View commit details
-
Copy full SHA for 938daff - Browse repository at this point
Copy the full SHA 938daffView commit details
Commits on Oct 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b43d344 - Browse repository at this point
Copy the full SHA b43d344View commit details
Commits on Oct 20, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1dc7e6a - Browse repository at this point
Copy the full SHA 1dc7e6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 910c626 - Browse repository at this point
Copy the full SHA 910c626View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dbd01f - Browse repository at this point
Copy the full SHA 7dbd01fView commit details
Commits on Oct 21, 2016
-
Mostly updated the online algorithm according to changes that have be…
…en done to the offline.
Configuration menu - View commit details
-
Copy full SHA for 9a04533 - Browse repository at this point
Copy the full SHA 9a04533View commit details -
Configuration menu - View commit details
-
Copy full SHA for b450609 - Browse repository at this point
Copy the full SHA b450609View commit details
Commits on Nov 4, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d3ca917 - Browse repository at this point
Copy the full SHA d3ca917View commit details
Commits on Nov 7, 2016
-
Making sure that the model is evaluated after the last iteration, if …
…eval_every is different from 0. Various comment changes. Updated notebook.
Configuration menu - View commit details
-
Copy full SHA for ba5ba63 - Browse repository at this point
Copy the full SHA ba5ba63View commit details
Commits on Nov 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for afa747d - Browse repository at this point
Copy the full SHA afa747dView commit details -
Fixed mistake in interpolating gamma. Moved lambda update outside of …
…'iterations' loop. Updated notebook.
Configuration menu - View commit details
-
Copy full SHA for 693b70b - Browse repository at this point
Copy the full SHA 693b70bView commit details -
Working on an algorithm that tries to process each 'disjoint' set of …
…authors independently in a mini-batch sort of way.
Configuration menu - View commit details
-
Copy full SHA for 7783261 - Browse repository at this point
Copy the full SHA 7783261View commit details
Commits on Nov 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 868b174 - Browse repository at this point
Copy the full SHA 868b174View commit details
Commits on Nov 11, 2016
-
Only updating the necessary expected log theta. Changed the name of O…
…nlineAtVb2 to DisjointAtVb. Updated notebook. Other minor changes.
Configuration menu - View commit details
-
Copy full SHA for 1cfd00f - Browse repository at this point
Copy the full SHA 1cfd00fView commit details
Commits on Nov 13, 2016
-
Implemented a new algorithm. It is 5 times faster, more memory effici…
…ent, and even gives better results.
Configuration menu - View commit details
-
Copy full SHA for edd5025 - Browse repository at this point
Copy the full SHA edd5025View commit details
Commits on Nov 15, 2016
-
Moved all algorithms except the new online one to a 'temp' folder. Ve…
…ctorization is an option, so I can test it (speed up etc.). Updated notebook.
Configuration menu - View commit details
-
Copy full SHA for fafc20a - Browse repository at this point
Copy the full SHA fafc20aView commit details -
Changed the name of the main algorithm (and file). Made a new noteboo…
…k for old tests, removed all old tests from main notebook. Removed references to old code in __init__.py.
Configuration menu - View commit details
-
Copy full SHA for 32e750d - Browse repository at this point
Copy the full SHA 32e750dView commit details
Commits on Nov 16, 2016
-
Cleaning up code. Removed or changed a lot of comments. Removed optio…
…n of computing log probabilities, although the method still exists. Added a method of computing all the terms of the bound at once.
Configuration menu - View commit details
-
Copy full SHA for 4286e90 - Browse repository at this point
Copy the full SHA 4286e90View commit details
Commits on Nov 21, 2016
-
Was computing the norm of phi incorrectly, fixed that, speed-up not a…
…s large as first thought. Made a method for computing phinorm. Updating lambda in a different way. Implemented a numerically stable softmax (phi is a softmax).
Configuration menu - View commit details
-
Copy full SHA for 12f231c - Browse repository at this point
Copy the full SHA 12f231cView commit details
Commits on Nov 22, 2016
-
Working on numerically stable phi update and bound computation. Is no…
…t converging the same way, so it is an option for now.
Configuration menu - View commit details
-
Copy full SHA for 76764ff - Browse repository at this point
Copy the full SHA 76764ffView commit details -
Made a separate file for unvectorized code and stored it in , in case…
… its needed it later.
Configuration menu - View commit details
-
Copy full SHA for 4cb3ee9 - Browse repository at this point
Copy the full SHA 4cb3ee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c14f61 - Browse repository at this point
Copy the full SHA 7c14f61View commit details -
Configuration menu - View commit details
-
Copy full SHA for eade3e1 - Browse repository at this point
Copy the full SHA eade3e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fe4c0e - Browse repository at this point
Copy the full SHA 6fe4c0eView commit details
Commits on Nov 23, 2016
-
In mini-batch algo, only the terms seen in the current chunk are upda…
…ted, otherwise problems occur.
Configuration menu - View commit details
-
Copy full SHA for 1975321 - Browse repository at this point
Copy the full SHA 1975321View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4a0e4b - Browse repository at this point
Copy the full SHA e4a0e4bView commit details
Commits on Nov 28, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 526a3bb - Browse repository at this point
Copy the full SHA 526a3bbView commit details -
Computing the bound more efficiently (much faster now). Now not passi…
…ng entire expElogtheta and expElogbeta matrices to compute_phinorm.
Configuration menu - View commit details
-
Copy full SHA for 5ee9a95 - Browse repository at this point
Copy the full SHA 5ee9a95View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0d7367 - Browse repository at this point
Copy the full SHA e0d7367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f621e2 - Browse repository at this point
Copy the full SHA 2f621e2View commit details
Commits on Nov 30, 2016
-
Configuration menu - View commit details
-
Copy full SHA for df11bb4 - Browse repository at this point
Copy the full SHA df11bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 054d37c - Browse repository at this point
Copy the full SHA 054d37cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d9da44 - Browse repository at this point
Copy the full SHA 9d9da44View commit details
Commits on Dec 1, 2016
-
The refactored code now runs, converges almost exactly as the old cod…
…e, produces some decent results, but somehow the results are slightly different. Made some slight changes to LdaModel to make the author-topic model work.
Configuration menu - View commit details
-
Copy full SHA for 336ff92 - Browse repository at this point
Copy the full SHA 336ff92View commit details
Commits on Dec 4, 2016
-
Refactoring. Various docstring and commenting. Made methods for const…
…ructing author2doc and doc2author so that the user may do this at will. Assuming that input to bound is seen data, as the converse may be problematic.
Configuration menu - View commit details
-
Copy full SHA for e5e7722 - Browse repository at this point
Copy the full SHA e5e7722View commit details
Commits on Dec 5, 2016
-
New refactored code now in atmodel.py. Old code is in atmodelold.py, …
…until I'm confident I don't need it anymore. Working on a new version in atmodel2.py, where I will be looping over authors rather than documents in the update.
Configuration menu - View commit details
-
Copy full SHA for 861e81a - Browse repository at this point
Copy the full SHA 861e81aView commit details
Commits on Dec 7, 2016
-
Implemented 'continued training' (call update multiple times) and __g…
…etitem__ in refactored code (atmodel.py).
Configuration menu - View commit details
-
Copy full SHA for e911aed - Browse repository at this point
Copy the full SHA e911aedView commit details
Commits on Dec 8, 2016
-
A lot of changes. Most notably, added docstrings, and made it possibl…
…e to evaluate test set (held-out data).
Configuration menu - View commit details
-
Copy full SHA for ff7f8e6 - Browse repository at this point
Copy the full SHA ff7f8e6View commit details
Commits on Dec 9, 2016
-
Added unit tests. Basically a retrofit of LDA test; some new tests, s…
…ome altered tests, some tests removed, others unchanged.
Configuration menu - View commit details
-
Copy full SHA for bdac93a - Browse repository at this point
Copy the full SHA bdac93aView commit details -
Updated unit tests. Fixed some mistakes. Added some tests; testing up…
…date fuctionality.
Configuration menu - View commit details
-
Copy full SHA for 9429c0a - Browse repository at this point
Copy the full SHA 9429c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0dc2d9 - Browse repository at this point
Copy the full SHA e0dc2d9View commit details
Commits on Dec 11, 2016
-
Made it possible to use serialized corpora (MmCorpus), and made unit …
…tests of that functionality. There are some caveats to the use of serialized corpora in the author-topic model. Updated docstring.
Configuration menu - View commit details
-
Copy full SHA for aabc0f4 - Browse repository at this point
Copy the full SHA aabc0f4View commit details -
Removed code in unit tests that silence logging (useful when doing lo…
…cal testing), as it broke some other tests.
Configuration menu - View commit details
-
Copy full SHA for e526cbc - Browse repository at this point
Copy the full SHA e526cbcView commit details
Commits on Dec 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 8cb404f - Browse repository at this point
Copy the full SHA 8cb404fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cf4e75 - Browse repository at this point
Copy the full SHA 6cf4e75View commit details -
get_author_topics now takes author name instead of integer ID; change…
…d unit tests accordingly. Overwrote get_document_topics to raise a NotImplementedError in the author-topic model.
Configuration menu - View commit details
-
Copy full SHA for 94956fa - Browse repository at this point
Copy the full SHA 94956faView commit details
Commits on Dec 13, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ebd9679 - Browse repository at this point
Copy the full SHA ebd9679View commit details
Commits on Dec 28, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bafb5ef - Browse repository at this point
Copy the full SHA bafb5efView commit details -
Added a new notebook where a stackexchange dataset is used. Started w…
…riting a tutorial. Updated old notebook as well.
Configuration menu - View commit details
-
Copy full SHA for 8cd90cf - Browse repository at this point
Copy the full SHA 8cd90cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9ecd4 - Browse repository at this point
Copy the full SHA ac9ecd4View commit details
Commits on Jan 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for aa08b49 - Browse repository at this point
Copy the full SHA aa08b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ce1fd5 - Browse repository at this point
Copy the full SHA 9ce1fd5View commit details -
Two algorithms in 'temp' used to test the difference between blocking…
… and standard variational Bayes AT model.
Configuration menu - View commit details
-
Copy full SHA for f1f9f50 - Browse repository at this point
Copy the full SHA f1f9f50View commit details -
Added the deepcopy again. Without it, the program can fail and the sy…
…stem crashes (looking into it).
Configuration menu - View commit details
-
Copy full SHA for cad8f26 - Browse repository at this point
Copy the full SHA cad8f26View commit details
Commits on Jan 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6caefd7 - Browse repository at this point
Copy the full SHA 6caefd7View commit details -
Comments and docstrings. Responding to comments from Lev, and working…
… a bit with Sphinx documentation.
Configuration menu - View commit details
-
Copy full SHA for 48b6c1a - Browse repository at this point
Copy the full SHA 48b6c1aView commit details -
Added the author-topic model to the API reference. Also slight change…
… to author-topic model rst file.
Configuration menu - View commit details
-
Copy full SHA for d03e020 - Browse repository at this point
Copy the full SHA d03e020View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ac77b7 - Browse repository at this point
Copy the full SHA 7ac77b7View commit details -
Removed test for single author in persistency test (test is simplifie…
…d with this and the previous commit 7ac77b7).
Configuration menu - View commit details
-
Copy full SHA for cab716d - Browse repository at this point
Copy the full SHA cab716dView commit details -
Removed save and load methods, using LdaModel's methods directly work…
…s. Also fixed the 'endclass' comment.
Configuration menu - View commit details
-
Copy full SHA for be7bddf - Browse repository at this point
Copy the full SHA be7bddfView commit details
Commits on Jan 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ffadaf1 - Browse repository at this point
Copy the full SHA ffadaf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e218883 - Browse repository at this point
Copy the full SHA e218883View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d2994f - Browse repository at this point
Copy the full SHA 7d2994fView commit details
Commits on Jan 13, 2017
-
Modified the bound method; it was somewhat confusing, and there were …
…even some mistakes. Cleaned up the code (atmodel.py and tests) w.r.t. PEP8 (disregarding E501, E731, E12 and W503) and removing vertical indent.
Configuration menu - View commit details
-
Copy full SHA for 616a965 - Browse repository at this point
Copy the full SHA 616a965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f98e3a - Browse repository at this point
Copy the full SHA 7f98e3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddfc8f7 - Browse repository at this point
Copy the full SHA ddfc8f7View commit details
Commits on Jan 14, 2017
-
Updated algorithm and tests w.r.t. comments from Lev. Other changes a…
…s well: removed do_mstep method (using LdaModels version directly), using minimum_probability in get_author_topics, removed statement (in log) that said perplexity is evaluated on held-out data.
Configuration menu - View commit details
-
Copy full SHA for 7d03608 - Browse repository at this point
Copy the full SHA 7d03608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 661e7e5 - Browse repository at this point
Copy the full SHA 661e7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85123c0 - Browse repository at this point
Copy the full SHA 85123c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91675a5 - Browse repository at this point
Copy the full SHA 91675a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d961a5 - Browse repository at this point
Copy the full SHA 6d961a5View commit details
Commits on Jan 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 13fa9ee - Browse repository at this point
Copy the full SHA 13fa9eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 018896c - Browse repository at this point
Copy the full SHA 018896cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a9832 - Browse repository at this point
Copy the full SHA a0a9832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6944a - Browse repository at this point
Copy the full SHA 5d6944aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e56e9e - Browse repository at this point
Copy the full SHA 8e56e9eView commit details
Commits on Jan 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for aecaecb - Browse repository at this point
Copy the full SHA aecaecbView commit details