MCPcopy Create free account

hub / github.com/bab2min/tomotopy / functions

Functions1,743 in github.com/bab2min/tomotopy

↓ 357 callersMethodsize
src/Utils/Mmap.h:66
↓ 225 callersMethoddata
23.3.11.4, data access:
src/Utils/tvector.hpp:281
↓ 213 callersMethodemplace_back
src/Utils/tvector.hpp:298
↓ 207 callersMethodget
src/python/handler/PyUtils.h:105
↓ 149 callersFunctionlgammaT
src/Utils/math.h:153
↓ 108 callersMethodsize
src/python/handler/py_utils.cpp:106
↓ 83 callersMethodempty
23.3.11.3, capacity:
src/Utils/tvector.hpp:184
↓ 77 callersMethodresize
src/Utils/tvector.hpp:206
↓ 71 callersMethodtrain
Train the model using Gibbs-sampling with `iterations` iterations. Return `None`. After calling this method, you cannot `tomotopy.models.LDAModel.add
tomotopy/models.py:596
↓ 60 callersMethodgetK
src/TopicModel/HLDAModel.hpp:625
↓ 54 callersMethodget
src/Utils/Mmap.h:65
↓ 53 callersMethodgetNumWorkers
src/Utils/ThreadPool.hpp:33
↓ 49 callersMethodend
src/TopicModel/TopicModel.hpp:213
↓ 48 callersMethodend
src/Utils/Trie.hpp:91
↓ 47 callersMethodget
(self, sort_key:int, filter_target:int, filter_value:float, filter_keyword:str, filter_metadata:str, filter_nu
tomotopy/viewer/viewer_server.py:228
↓ 46 callersMethodbegin
src/TopicModel/TopicModel.hpp:208
↓ 45 callersMethodgetProb
src/Coherence/Common.h:35
↓ 44 callersMethodadd_doc
Add a new document into the corpus and return an index of the inserted document. This method requires either `words` parameter or `raw` and `user_dat
tomotopy/utils.py:237
↓ 44 callersMethodsize
src/Labeling/FoRelevance.cpp:67
↓ 42 callersFunctionbuildPyValue
src/python/handler/utils.h:317
↓ 42 callersFunctionrepr
src/python/handler/PyUtils.h:602
↓ 36 callersMethodrelease
src/python/handler/PyUtils.h:110
↓ 34 callersMethodemplace
src/Utils/tvector.hpp:322
↓ 31 callersFunctionformat
src/Utils/text.hpp:16
↓ 31 callersMethodgetSumWordWeight
src/TopicModel/LDA.h:108
↓ 30 callersFunctionbuildPyTuple
src/python/handler/PyUtils.h:1776
↓ 30 callersMethodsize
src/Utils/serializer.hpp:174
↓ 29 callersFunctionbuildPyValue
src/python/handler/PyUtils.h:580
↓ 29 callersMethodisIndependent
src/python/handler/utils.h:57
↓ 28 callersMethodback
src/Utils/tvector.hpp:270
↓ 27 callersFunctionas_mutable
src/Utils/Utils.hpp:14
↓ 27 callersMethodgetNext
src/Utils/Trie.hpp:76
↓ 26 callersMethodbegin
src/python/handler/label.h:70
↓ 25 callersMethodend
src/python/handler/label.h:75
↓ 25 callersMethodget_topic_words
Return the `top_n` words and their probabilities in the sub topic `sub_topic_id`. The return type is a `list` of (word:`str`, probability:`float`).
tomotopy/models.py:1522
↓ 25 callersMethodsize
src/Utils/tvector.hpp:189
↓ 25 callersMethodtoWid
src/Utils/Dictionary.cpp:32
↓ 24 callersMethodenqueue
src/Utils/ThreadPool.hpp:90
↓ 24 callersMethodinit
src/TopicModel/LDA.h:51
↓ 24 callersMethodsummary
.. versionadded:: 0.9.0 Print human-readable description of the current model Parameters ---------- initial_hp : bool whether to show the initia
tomotopy/models.py:551
↓ 21 callersMethodgetV
src/TopicModel/TopicModel.hpp:640
↓ 20 callersMethodbegin
src/Utils/Trie.hpp:86
↓ 20 callersMethodbegin
src/Labeling/FoRelevance.cpp:77
↓ 19 callersFunctiontoCpp
src/python/handler/PyUtils.h:630
↓ 18 callersMethod_addDoc
src/TopicModel/TopicModel.hpp:398
↓ 18 callersMethodprocess
Add multiple documents into the corpus through a given iterator `data_feeder` and return the number of documents inserted. Parameters ---------- data
tomotopy/utils.py:259
↓ 18 callersFunctionto_keyz
src/Utils/serializer.hpp:200
↓ 17 callersFunctioncomputeHash
src/Utils/serializer.hpp:244
↓ 16 callersMethodbegin
src/python/handler/py_utils.cpp:116
↓ 16 callersFunctionbuildRawDoc
src/python/handler/module.h:437
↓ 16 callersMethodend
src/python/handler/py_utils.cpp:121
↓ 16 callersMethodpush_back
src/Utils/tvector.hpp:304
↓ 16 callersFunctionto_key
src/Utils/serializer.hpp:188
↓ 15 callersMethodLDAModel
src/TopicModel/LDAModel.hpp:964
↓ 15 callersMethodadd
src/Utils/Dictionary.cpp:14
↓ 15 callersMethodclear
src/Utils/tvector.hpp:424
↓ 15 callersMethodconservativeResize
src/TopicModel/LDA.h:65
↓ 14 callersFunction_convert_term_weight
(tw)
tomotopy/models.py:35
↓ 14 callersMethodend
src/Labeling/FoRelevance.cpp:82
↓ 14 callersMethodget_count_by_topics
Return the number of words allocated to each timepoint and topic in the shape `[num_timepoints, k]`. .. versionadded:: 0.9.0
tomotopy/models.py:2658
↓ 14 callersFunctionmakeTransformIter
src/Utils/Utils.hpp:384
↓ 14 callersFunctionprefixSum
src/Utils/sample.hpp:69
↓ 14 callersMethodread
src/Utils/serializer.hpp:727
↓ 14 callersMethodreserve
src/Utils/tvector.hpp:221
↓ 14 callersMethodwrite
src/Utils/serializer.hpp:721
↓ 13 callersMethod__init__
Parameters ---------- tw : Union[int, tomotopy.TermWeight] term weighting scheme in `tomotopy.TermWeight`. The default value is TermWeight.ONE min
tomotopy/models.py:1459
↓ 13 callersFunction_format_numpy
(arr, prefix='')
tomotopy/models.py:44
↓ 13 callersFunctionlog_ps
src/Utils/avx_mathfun.h:180
↓ 13 callersFunctionreadMany
src/Utils/serializer.hpp:274
↓ 13 callersFunctionwriteMany
src/Utils/serializer.hpp:253
↓ 13 callersFunctionwriteToStream
src/Utils/serializer.hpp:218
↓ 12 callersMethodgetDoc
src/python/handler/py_utils.cpp:151
↓ 12 callersFunctionhandleExc
src/python/handler/PyUtils.h:2199
↓ 12 callersMethodwords
a `list` of IDs for each word (read-only)
tomotopy/utils.py:84
↓ 11 callersFunctiongetDocumentCls
src/python/handler/utils.h:235
↓ 11 callersFunctionsampleFromDiscreteAcc
src/Utils/sample.hpp:134
↓ 10 callersMethodc_str
src/Utils/SharedString.cpp:101
↓ 10 callersMethodenqueueToAll
src/Utils/ThreadPool.hpp:115
↓ 10 callersMethodfront
src/Utils/tvector.hpp:260
↓ 10 callersMethodgetBoundDoc
src/python/handler/utils.h:164
↓ 10 callersMethodgetFail
src/Utils/Trie.hpp:81
↓ 10 callersMethodload
Load and return an instance from the file `filename` Parameters ---------- filename : str a path for the file to be loaded
tomotopy/utils.py:316
↓ 10 callersFunctionmakeStrideIter
src/Utils/Utils.hpp:423
↓ 10 callersMethodsave
Save the current instance into the file `filename`. Parameters ---------- filename : str a path for the file where the instance is saved
tomotopy/utils.py:303
↓ 10 callersMethodwrite
src/Utils/SharedString.h:76
↓ 9 callersMethodaddType
src/python/handler/PyUtils.h:3317
↓ 9 callersMethodcopy
src/python/handler/py_LDA.cpp:546
↓ 9 callersMethodgetTopicsByDoc
src/TopicModel/TopicModel.hpp:877
↓ 9 callersMethodget_topic_dist
Return a distribution of the topics in the document. Parameters ---------- normalize : bool .. versionadded:: 0.11.0 If True, it returns the
tomotopy/utils.py:31
↓ 8 callersMethod_makeFromRawDoc
src/TopicModel/TopicModel.hpp:420
↓ 8 callersMethodadd
src/python/handler/PyUtils.h:2159
↓ 8 callersMethodcapacity
src/Utils/tvector.hpp:201
↓ 8 callersMethodgetSibling
src/TopicModel/HLDAModel.hpp:29
↓ 8 callersMethodget_score
Calculate the coherence score for given `words` or `topic_id` Parameters ---------- words : Iterable[str] Words whose coherence is calculated.
tomotopy/coherence.py:138
↓ 8 callersFunctionnewEmptyArray
src/python/handler/PyUtils.h:1292
↓ 8 callersMethodstr
src/Utils/serializer.hpp:152
↓ 8 callersMethodupdate
src/TopicModel/PAModel.hpp:497
↓ 7 callersMethodbuild
src/Utils/Trie.hpp:97
↓ 7 callersFunctioncomputeFastHash
src/Utils/serializer.cpp:143
↓ 7 callersMethoderase
src/Utils/tvector.hpp:397
next →1–100 of 1,743, ranked by callers