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
↓ 7 callers
Method
getLLRest
src/TopicModel/LDAModel.hpp:633
↓ 7 callers
Method
getNumDocs
src/TopicModel/TopicModel.hpp:630
↓ 7 callers
Function
lgammaSubt
src/Utils/math.h:165
↓ 7 callers
Method
make_doc
Return a new `tomotopy.utils.Document` instance for an unseen document with `words` and `timepoint` that can be used for `tomotopy.models.LDAModel.inf
tomotopy/models.py:2594
↓ 7 callers
Method
max
src/Utils/math.h:251
↓ 7 callers
Method
prepare
src/TopicModel/LDAModel.hpp:1073
↓ 6 callers
Method
HDPModel
src/TopicModel/HDPModel.hpp:463
↓ 6 callers
Function
buildPyValueReorder
src/python/handler/utils.h:330
↓ 6 callers
Function
buildPyValueTransform
src/python/handler/PyUtils.h:1572
↓ 6 callers
Function
digammaT
src/Utils/math.h:154
↓ 6 callers
Function
forShuffled
src/Utils/Utils.hpp:158
↓ 6 callers
Method
getEta
src/TopicModel/LDAModel.hpp:88
↓ 6 callers
Method
getEtaSum
src/TopicModel/LDAModel.hpp:93
↓ 6 callers
Method
getWidsByTopic
src/TopicModel/TopicModel.hpp:777
↓ 6 callers
Method
get_topic_words
Return the `top_n` words and their probabilities in the topic `topic_id`. The return type is a `list` of (word:`str`, probability:`float`) tuples if
tomotopy/models.py:323
↓ 6 callers
Method
infer
.. versionadded:: 0.5.0 Return the inferred topic distribution and sub-topic distribution from unseen `doc`s. Parameters ---------- doc : Union[tomo
tomotopy/models.py:1572
↓ 6 callers
Method
insert
src/Utils/tvector.hpp:332
↓ 6 callers
Method
pop_back
src/Utils/tvector.hpp:316
↓ 6 callers
Function
popcnt
src/Utils/sample.hpp:19
↓ 6 callers
Method
read
src/Utils/SharedString.h:83
↓ 6 callers
Method
render
(self, **kwargs)
tomotopy/viewer/viewer_server.py:353
↓ 6 callers
Function
sampleFromDiscrete
src/Utils/sample.hpp:121
↓ 6 callers
Function
setPyError
src/python/handler/PyUtils.h:2172
↓ 6 callers
Function
sortAndWriteOrder
src/Utils/Utils.hpp:228
↓ 5 callers
Method
_summary_basic_info
(self, file)
tomotopy/models.py:484
↓ 5 callers
Function
clearError
src/python/handler/PyUtils.h:645
↓ 5 callers
Method
getWordsByTopicSorted
src/TopicModel/TopicModel.hpp:807
↓ 5 callers
Method
get_topic_label
(self, k, prefix='', id_suffix=False)
tomotopy/viewer/viewer_server.py:298
↓ 5 callers
Method
get_topic_word_dist
Return the word distribution of the sub topic `sub_topic_id`. The returned value is a `list` that has `len(vocabs)` fraction numbers indicating probab
tomotopy/models.py:1533
↓ 5 callers
Method
get_topics
Return the `top_n` topics with their probabilities for the document. Parameters ---------- top_n : int the `n` in "top-n" from_pseudo_doc : bool
tomotopy/utils.py:18
↓ 5 callers
Method
makeGeneratorForInit
src/TopicModel/LDAModel.hpp:757
↓ 5 callers
Method
mapToNewDict
src/Utils/Dictionary.cpp:78
↓ 5 callers
Method
presampleDocument
called once before sampleDocument */
src/TopicModel/LDAModel.hpp:319
↓ 5 callers
Method
tdf_linspace
Calculate topic distributions over a linspace of `numeric_metadata` values. .. versionchanged:: 0.12.0 A new argument `multi_metadata` for multi
tomotopy/models.py:1032
↓ 4 callers
Function
accurate_rcp
src/Utils/neon_gamma.h:3
↓ 4 callers
Method
add_corpus
.. versionadded:: 0.10.0 Add new documents into the model instance using `tomotopy.utils.Corpus` and return an instance of corpus that contains the i
tomotopy/models.py:264
↓ 4 callers
Method
add_doc
Add a new document into the model instance and return an index of the inserted document. This method should be called before calling the `tomotopy.mod
tomotopy/models.py:279
↓ 4 callers
Function
branchingEntropy
src/Labeling/Phraser.hpp:179
↓ 4 callers
Method
buildTable
src/Utils/AliasMethod.hpp:64
↓ 4 callers
Function
countBigrams
src/Labeling/Phraser.hpp:57
↓ 4 callers
Function
cpuid
src/python/dispatcher/py_rt.cpp:35
↓ 4 callers
Method
data
src/Utils/SharedString.h:46
↓ 4 callers
Method
extract_ngrams
..versionadded:: 0.10.0 Extract frequent n-grams using PMI score Parameters ---------- min_cf : int Minimum collection frequency of n-grams to b
tomotopy/utils.py:333
↓ 4 callers
Method
getJointNotProb
src/Coherence/ProbEstimator.hpp:189
↓ 4 callers
Method
getNumTable
src/TopicModel/HDP.h:45
↓ 4 callers
Method
getSubTopicsByDoc
src/TopicModel/PAModel.hpp:425
↓ 4 callers
Method
getWordWeight
src/TopicModel/LDA.h:153
↓ 4 callers
Method
get_hash
(self)
tomotopy/models.py:305
↓ 4 callers
Function
importFrom
src/python/handler/PyUtils.h:1269
↓ 4 callers
Method
incref
src/python/handler/PyUtils.h:82
↓ 4 callers
Method
is_live_topic
Return `True` if the topic `topic_id` is valid, otherwise return `False`. Parameters ---------- topic_id : int an integer in range [0, `k`) indic
tomotopy/models.py:1185
↓ 4 callers
Method
loads
Return the model instance loaded from `data` in a bytes-like object.
tomotopy/models.py:126
↓ 4 callers
Function
parallelReduce
src/Labeling/Phraser.hpp:198
↓ 4 callers
Function
partialProductDown
src/Utils/slp.hpp:119
↓ 4 callers
Method
pytype
src/python/handler/PyUtils.h:483
↓ 4 callers
Function
quote
src/Utils/text.hpp:35
↓ 4 callers
Method
set_word_prior
.. versionadded:: 0.6.0 Set word-topic prior. This method should be called before calling the `tomotopy.models.LDAModel.train`. Parameters ---------
tomotopy/models.py:433
↓ 4 callers
Method
size
src/Utils/SharedString.h:31
↓ 4 callers
Method
tmid
src/TopicModel/DTModel.hpp:45
↓ 4 callers
Method
twid
src/TopicModel/LDAModel.hpp:125
↓ 3 callers
Method
DMRModel
src/TopicModel/DMRModel.hpp:369
↓ 3 callers
Method
FoRelevance
src/Labeling/FoRelevance.h:85
↓ 3 callers
Method
PMIExtractor
src/Labeling/FoRelevance.h:25
↓ 3 callers
Function
_apply_docs
(docs_dict, cls_map)
tomotopy/_docs_ko.py:2022
↓ 3 callers
Method
_toCpp
src/python/handler/PyUtils.h:2138
↓ 3 callers
Method
a
src/Utils/math.h:253
↓ 3 callers
Method
b
src/Utils/math.h:254
↓ 3 callers
Function
char2Byte
src/python/handler/py_main.cpp:19
↓ 3 callers
Method
computeHash
src/TopicModel/LDA.h:97
↓ 3 callers
Function
computeHashMany
src/Utils/serializer.hpp:308
↓ 3 callers
Method
concat_ngrams
..versionadded:: 0.10.0 Concatenate n-grams matching the given candidates in the corpus into single words Parameters ---------- cands : Iterable[tom
tomotopy/utils.py:363
↓ 3 callers
Function
digammaApprox
src/Utils/math.h:172
↓ 3 callers
Method
fillFail
src/Utils/Trie.hpp:186
↓ 3 callers
Function
getArrayDataPtr
src/python/handler/PyUtils.h:1280
↓ 3 callers
Method
getChild
src/TopicModel/HLDAModel.hpp:35
↓ 3 callers
Method
getLambdaByTopic
src/TopicModel/DMRModel.hpp:480
↓ 3 callers
Method
getNumTopicsPerLabel
src/TopicModel/LLDAModel.hpp:198
↓ 3 callers
Function
getPObjectAddress
src/python/handler/PyUtils.h:1959
↓ 3 callers
Method
getParent
src/TopicModel/HLDAModel.hpp:23
↓ 3 callers
Method
getSumWordWeight
src/TopicModel/LDACVB0Model.hpp:35
↓ 3 callers
Method
get_ll
.. versionadded:: 0.10.0 Return total log-likelihood for the current document.
tomotopy/utils.py:77
↓ 3 callers
Method
get_topic_labels
Return the top-n label candidates for the topic `k` Parameters ---------- k : int an integer indicating a topic top_n : int the number of lab
tomotopy/label.py:83
↓ 3 callers
Method
get_topic_prior
.. versionadded:: 0.12.0 Calculate the topic prior of any document with the given `metadata` and `multi_metadata`. If `raw` is true, the value witho
tomotopy/models.py:764
↓ 3 callers
Method
get_topic_words
Return the `top_n` words and their probabilities in the topic `topic_id`. The return type is a `list` of (word:`str`, probability:`float`). Paramete
tomotopy/models.py:1741
↓ 3 callers
Method
get_user_config
(self, key)
tomotopy/viewer/viewer_server.py:309
↓ 3 callers
Method
hasDefinition
src/python/handler/PyUtils.h:3209
↓ 3 callers
Function
hue2rgb
(h:float, b:float = 1)
tomotopy/viewer/viewer_server.py:36
↓ 3 callers
Method
infer
Return the inferred topic distribution from unseen `doc`s. Parameters ---------- doc : Union[tomotopy.utils.Document, Iterable[tomotopy.utils.Documen
tomotopy/models.py:354
↓ 3 callers
Method
len
src/python/handler/py_utils.cpp:79
↓ 3 callers
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/sse_gamma.h:18
↓ 3 callers
Method
makeNext
src/Utils/Trie.hpp:250
↓ 3 callers
Function
mergeNgramCounts
src/Labeling/Phraser.hpp:161
↓ 3 callers
Method
min
src/Utils/math.h:250
↓ 3 callers
Method
rbegin
src/Labeling/FoRelevance.cpp:87
↓ 3 callers
Method
serializerRead
src/Utils/Trie.hpp:220
↓ 3 callers
Method
span
a span (tuple of a start position and an end position in bytes) for each word token in the document (read-only)
tomotopy/utils.py:182
↓ 3 callers
Method
substr
src/Utils/SharedString.cpp:107
↓ 3 callers
Method
swap
src/Utils/Dictionary.cpp:58
↓ 3 callers
Function
transform
src/python/handler/PyUtils.h:1446
↓ 3 callers
Function
transformMisc
src/python/handler/py_LDA.cpp:12
← previous
next →
101–200 of 1,743, ranked by callers