Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bab2min/tomotopy
/ functions
Functions
1,743 in github.com/bab2min/tomotopy
⨍
Functions
1,743
◇
Types & classes
460
Method
get_metadata
(self)
tomotopy/viewer/viewer_server.py:583
Method
get_overview
(self)
tomotopy/viewer/viewer_server.py:397
Method
get_phi
Return a `list` of phi parameters for `timepoint` and `topic_id`. Parameters ---------- timepoint : int an integer with range [0, `t`) topic_id :
tomotopy/models.py:2616
Method
get_sub_topic_dist
.. versionadded:: 0.5.0 Return a distribution of the sub topics in the document. (for only `tomotopy.models.PAModel`) Parameters ---------- normaliz
tomotopy/utils.py:52
Method
get_sub_topic_dist
Return a distribution of the sub topics in a super topic `super_topic_id`. The returned value is a `list` that has `k2` fraction numbers indicating pr
tomotopy/models.py:1561
Method
get_sub_topics
.. versionadded:: 0.5.0 Return the `top_n` sub topics with their probabilities for the document. (for only `tomotopy.models.PAModel`)
tomotopy/utils.py:46
Method
get_tdf_map
(self)
tomotopy/viewer/viewer_server.py:612
Method
get_topic
(self)
tomotopy/viewer/viewer_server.py:499
Method
get_topic_rel
(self)
tomotopy/viewer/viewer_server.py:532
Method
get_topic_word_dist
Return the word distribution of the topic `topic_id`. The returned value is a `list` that has `len(vocabs)` fraction numbers indicating probabilities
tomotopy/models.py:308
Method
get_topic_word_dist
Return the word distribution of the topic `topic_id`. The returned value is a `list` that has `len(vocabs)` fraction numbers indicating probabilities
tomotopy/models.py:1377
Method
get_topic_word_dist
Return the word distribution of the topic `topic_id`. The returned value is a `list` that has `len(vocabs)` fraction numbers indicating probabilities
tomotopy/models.py:1754
Method
get_topic_word_dist
Return the word distribution of the topic `topic_id` with `timepoint`. The returned value is a `list` that has `len(vocabs)` fraction numbers indicati
tomotopy/models.py:2641
Method
get_word_forms
(self, idx = -1)
tomotopy/models.py:339
Method
get_word_prior
.. versionadded:: 0.6.0 Return word-topic prior for `word`. If there is no set prior for `word`, an empty list is returned. Parameters ---------- wo
tomotopy/models.py:342
Method
getattro
src/python/handler/py_utils.cpp:915
Method
getitem
src/python/handler/py_utils.cpp:85
Method
getstate
src/python/handler/py_utils.cpp:59
Method
global_step
the total number of iterations of training (read-only) .. versionadded:: 0.9.0
tomotopy/models.py:159
Method
hash
src/Utils/serializer.hpp:389
Method
hash
src/Utils/serializer.hpp:408
Method
hash
src/Utils/serializer.hpp:491
Method
hash
src/Utils/serializer.hpp:520
Method
hash
src/Utils/serializer.hpp:557
Method
hash
src/Utils/serializer.hpp:581
Method
hash
src/Utils/serializer.hpp:611
Method
hash
src/Utils/serializer.hpp:635
Method
hash
src/Utils/serializer.hpp:665
Method
hash
src/Utils/serializer.hpp:686
Method
hash
src/Utils/serializer.hpp:762
Method
imstream
src/Utils/serializer.hpp:60
Method
imstream
src/Utils/serializer.cpp:58
Method
incref
src/python/handler/PyUtils.h:168
Method
incref
src/python/handler/PyUtils.h:256
Method
incref
src/Utils/SharedString.cpp:5
Method
infer
src/python/handler/py_PA.cpp:94
Method
infer
src/python/handler/py_LDA.cpp:345
Method
infer
src/python/handler/py_HPA.cpp:61
Method
infer
src/TopicModel/TopicModel.hpp:842
Function
infer_together
(cls, inputFile, mdFields, f, kargs, ps)
test/unit_test.py:272
Method
init
src/python/handler/PyUtils.h:1842
Method
init
src/python/handler/PyUtils.h:1928
Method
init
src/Utils/SharedString.cpp:25
Method
init
src/Coherence/CoherenceModel.hpp:25
Method
initFromPython
src/python/handler/PyUtils.h:1830
Method
initFromPython
src/python/handler/PyUtils.h:1922
Method
initGlobalState
src/TopicModel/LLDAModel.hpp:67
Method
initGlobalState
src/TopicModel/DMRModel.hpp:301
Method
initGlobalState
src/TopicModel/DTModel.hpp:399
Method
initGlobalState
src/TopicModel/HDPModel.hpp:386
Method
initGlobalState
src/TopicModel/PAModel.hpp:308
Method
initGlobalState
src/TopicModel/HLDAModel.hpp:516
Method
initGlobalState
src/TopicModel/CTModel.hpp:234
Method
initGlobalState
src/TopicModel/SLDAModel.hpp:318
Method
initGlobalState
src/TopicModel/PTModel.hpp:168
Method
initGlobalState
src/TopicModel/GDMRModel.hpp:351
Method
initGlobalState
src/TopicModel/MGLDAModel.hpp:302
Method
initGlobalState
src/TopicModel/HPAModel.hpp:380
Method
initGlobalState
src/TopicModel/PLDAModel.hpp:71
Method
initParameters
src/TopicModel/GDMRModel.hpp:65
Method
initializeDocState
src/TopicModel/LDACVB0Model.hpp:295
Method
initializeDocState
src/TopicModel/LDAModel.hpp:782
Method
insertCorpus
src/python/handler/py_LDA.cpp:31
Method
insertDoc
src/Coherence/ProbEstimator.hpp:102
Method
insertDoc
src/Coherence/ProbEstimator.hpp:271
Method
insertTargets
src/Coherence/ProbEstimator.hpp:93
Method
isLeaf
src/TopicModel/HLDAModel.hpp:82
Method
isLiveTopic
src/python/handler/py_HDP.cpp:32
Method
isLiveTopic
src/TopicModel/HDPModel.hpp:485
Method
isLiveTopic
src/TopicModel/HLDAModel.hpp:637
Method
isOwner
src/Utils/tvector.hpp:291
Method
isSubDocs
src/python/handler/utils.h:62
Method
is_live_topic
Return `True` if the topic `topic_id` is alive, otherwise return `False`. Parameters ---------- topic_id : int an integer in range [0, `k`) indic
tomotopy/models.py:2420
Method
iter
src/python/handler/PyUtils.h:2002
Method
iter
src/python/handler/PyUtils.h:3162
Method
iter
src/python/handler/py_utils.cpp:782
Method
iternext
src/python/handler/PyUtils.h:2008
Method
iternext
src/python/handler/PyUtils.h:3178
Method
iternext
src/python/handler/py_utils.cpp:803
Method
jj_m1
src/Utils/PolyaGamma.hpp:151
Method
jj_m2
src/Utils/PolyaGamma.hpp:162
Method
k
K, the number of topics (read-only)
tomotopy/models.py:166
Method
k1
k1, the number of super topics (read-only)
tomotopy/models.py:1629
Method
k2
k2, the number of sub topics (read-only)
tomotopy/models.py:1634
Method
k_g
the hyperparameter k_g (read-only)
tomotopy/models.py:1394
Method
k_l
the hyperparameter k_l (read-only)
tomotopy/models.py:1399
Method
labels
a `list` of (label, list of probabilities of each topic belonging to the label) of the document (for only `tomotopy.models.LLDAModel` and `tomotopy.mo
tomotopy/utils.py:156
Method
lambda_
parameter lambdas in the shape `[k, len(metadata_dict), l]` where `k` is the number of topics and `l` is the size of vector for multi_metadata (read-o
tomotopy/models.py:828
Method
lambdas
parameter lambdas in the shape `[k, f]` (read-only) .. warning:: Prior to version 0.11.0, there was a bug in the lambda getter, so it yielded th
tomotopy/models.py:819
Method
latent_topics
the number of latent topics (read-only)
tomotopy/models.py:2332
Method
len
src/python/handler/PyUtils.h:2462
Method
len
src/python/handler/PyUtils.h:2534
Method
len
src/python/handler/PyUtils.h:2617
Function
lgamma512_ps
approximation : lgamma(z) ~= (z+2.5)ln(z+3) - z - 3 + 0.5 ln (2pi) + 1/12/(z + 3) - ln (z(z+1)(z+2))
src/Utils/avx512_gamma.h:5
Function
lgamma_ps
approximation : lgamma(z) ~= (z+2.5)ln(z+3) - z - 3 + 0.5 ln (2pi) + 1/12/(z + 3) - ln (z(z+1)(z+2))
src/Utils/neon_gamma.h:10
Function
lgamma_ps
approximation : lgamma(z) ~= (z+2.5)ln(z+3) - z - 3 + 0.5 ln (2pi) + 1/12/(z + 3) - ln (z(z+1)(z+2))
src/Utils/sse_gamma.h:5
Function
lgamma_ps
approximation : lgamma(z) ~= (z+2.5)ln(z+3) - z - 3 + 0.5 ln (2pi) + 1/12/(z + 3) - ln (z(z+1)(z+2))
src/Utils/avx_gamma.h:5
Function
lgamma_subt
approximation : lgamma(z + a) - lgamma(z) = (z + a + 1.5) * log(z + a + 2) - (z + 1.5) * log(z + 2) - a + (1. / (z + a + 2) - 1. / (z + 2)) / 12. - lo
src/Utils/neon_gamma.h:23
Function
lgamma_subt
approximation : lgamma(z + a) - lgamma(z) = (z + a + 1.5) * log(z + a + 2) - (z + 1.5) * log(z + 2) - a + (1. / (z + a + 2) - 1. / (z + 2)) / 12. - lo
src/Utils/avx_gamma.h:18
Method
live_k
the number of alive topics (read-only)
tomotopy/models.py:1228
← previous
next →
1,101–1,200 of 1,743, ranked by callers