Skip to content

Commit

Permalink
Add inference for new unseen author for `gensim.models.AuthorTopicMod…
Browse files Browse the repository at this point in the history
…el` (#1766)

* Add function get_new_author_topics() to infer topics distribution for new unseen author.

* Fixes for pep8 compliance. Concrete exception handling.

* small docstring fix

* dont extend self.corpus

* pep8 fixes

* remove chunksize limitation and small fix

* pep8 fix

* try pep8 fix

* convert docstring to numpy-style

* fix PEP8

* fix major bug

* fix pep8

* fix merge

* add tests for get_new_author_topics

* fix stash changes

* fix test pep8

* fix exception catching and rollback

* add test for topic similarity

* fix pep8

* some last cosmetic changes

* author id fix

* add tutorial for authorship prediction

* add ipynb
  • Loading branch information
Stamenov authored and menshikh-iv committed Mar 26, 2018
1 parent 4f49265 commit 2e08f4d
Show file tree
Hide file tree
Showing 3 changed files with 1,959 additions and 4 deletions.
Loading

0 comments on commit 2e08f4d

Please sign in to comment.