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
↓ 357 callers
Method
size
src/Utils/Mmap.h:66
↓ 225 callers
Method
data
23.3.11.4, data access:
src/Utils/tvector.hpp:281
↓ 213 callers
Method
emplace_back
src/Utils/tvector.hpp:298
↓ 207 callers
Method
get
src/python/handler/PyUtils.h:105
↓ 149 callers
Function
lgammaT
src/Utils/math.h:153
↓ 108 callers
Method
size
src/python/handler/py_utils.cpp:106
↓ 83 callers
Method
empty
23.3.11.3, capacity:
src/Utils/tvector.hpp:184
↓ 77 callers
Method
resize
src/Utils/tvector.hpp:206
↓ 71 callers
Method
train
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 callers
Method
getK
src/TopicModel/HLDAModel.hpp:625
↓ 54 callers
Method
get
src/Utils/Mmap.h:65
↓ 53 callers
Method
getNumWorkers
src/Utils/ThreadPool.hpp:33
↓ 49 callers
Method
end
src/TopicModel/TopicModel.hpp:213
↓ 48 callers
Method
end
src/Utils/Trie.hpp:91
↓ 47 callers
Method
get
(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 callers
Method
begin
src/TopicModel/TopicModel.hpp:208
↓ 45 callers
Method
getProb
src/Coherence/Common.h:35
↓ 44 callers
Method
add_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 callers
Method
size
src/Labeling/FoRelevance.cpp:67
↓ 42 callers
Function
buildPyValue
src/python/handler/utils.h:317
↓ 42 callers
Function
repr
src/python/handler/PyUtils.h:602
↓ 36 callers
Method
release
src/python/handler/PyUtils.h:110
↓ 34 callers
Method
emplace
src/Utils/tvector.hpp:322
↓ 31 callers
Function
format
src/Utils/text.hpp:16
↓ 31 callers
Method
getSumWordWeight
src/TopicModel/LDA.h:108
↓ 30 callers
Function
buildPyTuple
src/python/handler/PyUtils.h:1776
↓ 30 callers
Method
size
src/Utils/serializer.hpp:174
↓ 29 callers
Function
buildPyValue
src/python/handler/PyUtils.h:580
↓ 29 callers
Method
isIndependent
src/python/handler/utils.h:57
↓ 28 callers
Method
back
src/Utils/tvector.hpp:270
↓ 27 callers
Function
as_mutable
src/Utils/Utils.hpp:14
↓ 27 callers
Method
getNext
src/Utils/Trie.hpp:76
↓ 26 callers
Method
begin
src/python/handler/label.h:70
↓ 25 callers
Method
end
src/python/handler/label.h:75
↓ 25 callers
Method
get_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 callers
Method
size
src/Utils/tvector.hpp:189
↓ 25 callers
Method
toWid
src/Utils/Dictionary.cpp:32
↓ 24 callers
Method
enqueue
src/Utils/ThreadPool.hpp:90
↓ 24 callers
Method
init
src/TopicModel/LDA.h:51
↓ 24 callers
Method
summary
.. 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 callers
Method
getV
src/TopicModel/TopicModel.hpp:640
↓ 20 callers
Method
begin
src/Utils/Trie.hpp:86
↓ 20 callers
Method
begin
src/Labeling/FoRelevance.cpp:77
↓ 19 callers
Function
toCpp
src/python/handler/PyUtils.h:630
↓ 18 callers
Method
_addDoc
src/TopicModel/TopicModel.hpp:398
↓ 18 callers
Method
process
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 callers
Function
to_keyz
src/Utils/serializer.hpp:200
↓ 17 callers
Function
computeHash
src/Utils/serializer.hpp:244
↓ 16 callers
Method
begin
src/python/handler/py_utils.cpp:116
↓ 16 callers
Function
buildRawDoc
src/python/handler/module.h:437
↓ 16 callers
Method
end
src/python/handler/py_utils.cpp:121
↓ 16 callers
Method
push_back
src/Utils/tvector.hpp:304
↓ 16 callers
Function
to_key
src/Utils/serializer.hpp:188
↓ 15 callers
Method
LDAModel
src/TopicModel/LDAModel.hpp:964
↓ 15 callers
Method
add
src/Utils/Dictionary.cpp:14
↓ 15 callers
Method
clear
src/Utils/tvector.hpp:424
↓ 15 callers
Method
conservativeResize
src/TopicModel/LDA.h:65
↓ 14 callers
Function
_convert_term_weight
(tw)
tomotopy/models.py:35
↓ 14 callers
Method
end
src/Labeling/FoRelevance.cpp:82
↓ 14 callers
Method
get_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 callers
Function
makeTransformIter
src/Utils/Utils.hpp:384
↓ 14 callers
Function
prefixSum
src/Utils/sample.hpp:69
↓ 14 callers
Method
read
src/Utils/serializer.hpp:727
↓ 14 callers
Method
reserve
src/Utils/tvector.hpp:221
↓ 14 callers
Method
write
src/Utils/serializer.hpp:721
↓ 13 callers
Method
__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 callers
Function
_format_numpy
(arr, prefix='')
tomotopy/models.py:44
↓ 13 callers
Function
log_ps
src/Utils/avx_mathfun.h:180
↓ 13 callers
Function
readMany
src/Utils/serializer.hpp:274
↓ 13 callers
Function
writeMany
src/Utils/serializer.hpp:253
↓ 13 callers
Function
writeToStream
src/Utils/serializer.hpp:218
↓ 12 callers
Method
getDoc
src/python/handler/py_utils.cpp:151
↓ 12 callers
Function
handleExc
src/python/handler/PyUtils.h:2199
↓ 12 callers
Method
words
a `list` of IDs for each word (read-only)
tomotopy/utils.py:84
↓ 11 callers
Function
getDocumentCls
src/python/handler/utils.h:235
↓ 11 callers
Function
sampleFromDiscreteAcc
src/Utils/sample.hpp:134
↓ 10 callers
Method
c_str
src/Utils/SharedString.cpp:101
↓ 10 callers
Method
enqueueToAll
src/Utils/ThreadPool.hpp:115
↓ 10 callers
Method
front
src/Utils/tvector.hpp:260
↓ 10 callers
Method
getBoundDoc
src/python/handler/utils.h:164
↓ 10 callers
Method
getFail
src/Utils/Trie.hpp:81
↓ 10 callers
Method
load
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 callers
Function
makeStrideIter
src/Utils/Utils.hpp:423
↓ 10 callers
Method
save
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 callers
Method
write
src/Utils/SharedString.h:76
↓ 9 callers
Method
addType
src/python/handler/PyUtils.h:3317
↓ 9 callers
Method
copy
src/python/handler/py_LDA.cpp:546
↓ 9 callers
Method
getTopicsByDoc
src/TopicModel/TopicModel.hpp:877
↓ 9 callers
Method
get_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 callers
Method
_makeFromRawDoc
src/TopicModel/TopicModel.hpp:420
↓ 8 callers
Method
add
src/python/handler/PyUtils.h:2159
↓ 8 callers
Method
capacity
src/Utils/tvector.hpp:201
↓ 8 callers
Method
getSibling
src/TopicModel/HLDAModel.hpp:29
↓ 8 callers
Method
get_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 callers
Function
newEmptyArray
src/python/handler/PyUtils.h:1292
↓ 8 callers
Method
str
src/Utils/serializer.hpp:152
↓ 8 callers
Method
update
src/TopicModel/PAModel.hpp:497
↓ 7 callers
Method
build
src/Utils/Trie.hpp:97
↓ 7 callers
Function
computeFastHash
src/Utils/serializer.cpp:143
↓ 7 callers
Method
erase
src/Utils/tvector.hpp:397
next →
1–100 of 1,743, ranked by callers