Skip to content
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

Add cython version for "hot" functions from gensim.models.LdaModel #1767

Merged
merged 39 commits into from
Feb 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
67dfde9
cython functions for lda model
arlenk Dec 4, 2017
f839755
fix setup.py
arlenk Dec 4, 2017
43de438
fast, partially cythonized version of LDA model
arlenk Dec 5, 2017
f528479
rename module and add to top-level setup.py
arlenk Dec 5, 2017
bc33289
remove ill-fated mean_absolute_difference_threshold
arlenk Dec 5, 2017
7063fc9
fix import statements for new cython module location
arlenk Dec 5, 2017
9a7ac32
move dirichlet_expectation to cython module
arlenk Dec 5, 2017
2193fd5
fast, partially cythonized version of LDA model
arlenk Dec 4, 2017
8e5f844
add _fastldamodel.pyx to setup.py
arlenk Dec 11, 2017
e6647bc
remove duplicate entry for _fastldamodel.pyx
arlenk Dec 11, 2017
84d72cb
move fastldamodel code into ldamodel
arlenk Dec 13, 2017
c3ef1a4
make sure to call cythonized functions in ldamodel.py
arlenk Dec 13, 2017
932a6b5
cython files
arlenk Dec 13, 2017
a4f4177
always define slow versions of logsumexp and mean_absolute_difference
arlenk Dec 13, 2017
d3b03f9
Merge branch 'develop' into cython
menshikh-iv Dec 13, 2017
67f8829
remove unecessary numpy import in setup.py
arlenk Dec 14, 2017
37f0b7e
move changes from fastldamodel into ldamodel
arlenk Dec 14, 2017
03bfbb8
clean up import statement
arlenk Dec 14, 2017
81b415b
remove spaces from cython c files
arlenk Dec 14, 2017
e189aca
Merge branch 'cython' of github.com:arlenk/gensim into cython
arlenk Dec 14, 2017
f576bc7
remove old fastldamodel.c file from setup.py
arlenk Dec 14, 2017
30e0092
merge dtype specific inner functions
arlenk Dec 22, 2017
def3815
fix bad indent
arlenk Dec 22, 2017
327b897
move 'slow' versions of logsumexp and mean_abs_diff to matutils
arlenk Dec 22, 2017
ef64781
add unittests for ldamodel_inner
arlenk Dec 23, 2017
8ec3186
remove errant reference to dirichlet_expectation_1d in LdaState
arlenk Dec 23, 2017
a0f5cf3
fix typo: apply -> self._apply
arlenk Jan 3, 2018
e7c108b
fix flake8 warnings
arlenk Jan 4, 2018
545eac5
flake8 fixes
arlenk Jan 4, 2018
29d8ea8
Merge remote-tracking branch 'upstream/develop' into cython
arlenk Jan 10, 2018
ce0e1e7
fix extension definition for ladmodel_inner
arlenk Feb 23, 2018
e5ce2e1
move ldamodel_inner to _matutils
arlenk Feb 23, 2018
52ee195
move ldamodel_inner to _matutils
arlenk Feb 23, 2018
4edfc23
Merge branch 'cython' of https://github.com/arlenk/gensim into cython
arlenk Feb 23, 2018
a4f103c
Add missing rst for doc & rebuild cython with needed parameter
menshikh-iv Feb 23, 2018
ac18286
fix documentation for _matutils
menshikh-iv Feb 23, 2018
05d5ad3
fix documentation for matutils & _matutils
menshikh-iv Feb 23, 2018
7b42671
fix nitpicks
menshikh-iv Feb 23, 2018
d4387dd
fix test_matutils
menshikh-iv Feb 23, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ include gensim/models/fasttext_inner.c
include gensim/models/fasttext_inner.pyx
include gensim/corpora/_mmreader.c
include gensim/corpora/_mmreader.pyx
include gensim/_matutils.c
include gensim/_matutils.pyx
9 changes: 9 additions & 0 deletions docs/src/_matutils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:mod:`_matutils` -- Cython matutils
===================================

.. automodule:: gensim._matutils
:synopsis: Cython math utils
:members:
:inherited-members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/src/apiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Modules:
interfaces
utils
matutils
_matutils
downloader
corpora/bleicorpus
corpora/csvcorpus
Expand Down
Loading