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
↓ 1 callers
Function
colorize
(a, colors)
tomotopy/viewer/viewer_server.py:67
↓ 1 callers
Method
computeHash
src/Utils/Dictionary.cpp:53
↓ 1 callers
Method
compute_data_density
(self, x_values, axis, categorical_metadata)
tomotopy/viewer/viewer_server.py:567
↓ 1 callers
Method
convert_to_lda
.. versionadded:: 0.8.0 Convert the current HDP model to equivalent LDA model and return `(new_lda_model, new_topic_id)`. Topics with proportion less
tomotopy/models.py:1195
↓ 1 callers
Method
copy
src/TopicModel/SLDAModel.hpp:74
↓ 1 callers
Method
copy
.. versionadded:: 0.12.0 Return a new deep-copied instance of the current instance
tomotopy/models.py:295
↓ 1 callers
Function
corpus_and_labeling_example
(input_file)
examples/corpus_and_labeling.py:4
↓ 1 callers
Function
cos_ps
almost the same as sin_ps */
src/Utils/avx_mathfun.h:473
↓ 1 callers
Method
curptr
src/Utils/serializer.hpp:46
↓ 1 callers
Function
data_feeder
(input_file)
examples/dtm.py:6
↓ 1 callers
Function
digamma
src/Utils/math.h:114
↓ 1 callers
Function
digammaf
src/Utils/math.h:71
↓ 1 callers
Function
digammal
This digamma implmentation is from http://www2.mpia-hd.mpg.de/~mathar/progs/digamma.c, and modified by bab2min. */
src/Utils/math.h:22
↓ 1 callers
Method
distributePartition
src/TopicModel/LDAModel.hpp:475
↓ 1 callers
Function
drawPolyaGamma
src/Utils/PolyaGamma.hpp:195
↓ 1 callers
Function
draw_contour_map
(arr, interval, smooth=True)
tomotopy/viewer/viewer_server.py:75
↓ 1 callers
Method
dropPathOne
src/TopicModel/HLDAModel.hpp:87
↓ 1 callers
Method
end
src/Utils/tvector.hpp:165
↓ 1 callers
Method
estimate
src/TopicModel/SLDAModel.hpp:109
↓ 1 callers
Method
estimate
Return the estimated response variable for `doc`. If `doc` is an unseen document instance which is generated by `tomotopy.models.SLDAModel.make_doc` m
tomotopy/models.py:2062
↓ 1 callers
Function
estimate_confidence_interval_of_dd
(alpha, p=0.95, samples=16384)
tomotopy/viewer/viewer_server.py:164
↓ 1 callers
Method
evaluateLambdaObj
src/TopicModel/DMRModel.hpp:75
↓ 1 callers
Function
exp_ps
src/Utils/avx_mathfun.h:266
↓ 1 callers
Method
extract
Return the list of `tomotopy.label.Candidate`s extracted from `topic_model` Parameters ---------- topic_model an instance of topic model with doc
tomotopy/label.py:41
↓ 1 callers
Function
extractPMIBENgrams
src/Labeling/Phraser.hpp:371
↓ 1 callers
Function
extract_ngrams_example
(input_file)
examples/extract_ngram.py:4
↓ 1 callers
Method
feedNext
src/python/handler/PyUtils.h:2038
↓ 1 callers
Function
feeder
(file)
test/unit_test.py:348
↓ 1 callers
Method
findFail
src/Utils/Trie.hpp:167
↓ 1 callers
Method
findNode
src/Utils/Trie.hpp:115
↓ 1 callers
Function
find_best_labels_for_range
(start, end, max_labels)
tomotopy/viewer/viewer_server.py:137
↓ 1 callers
Method
findall
src/python/handler/py_utils.cpp:1175
↓ 1 callers
Method
forLarge
src/Utils/math.h:128
↓ 1 callers
Method
forNonFinite
src/Utils/math.h:129
↓ 1 callers
Method
forSmall
src/Utils/math.h:123
↓ 1 callers
Method
generateLeafNode
src/TopicModel/HLDAModel.hpp:281
↓ 1 callers
Method
getAlpha
src/python/handler/py_DT.cpp:141
↓ 1 callers
Function
getArrayDtype
src/python/handler/PyUtils.h:1323
↓ 1 callers
Function
getArraySize
src/python/handler/PyUtils.h:1337
↓ 1 callers
Method
getCountByTopic
src/python/handler/py_DT.cpp:127
↓ 1 callers
Method
getDocIdByUid
src/TopicModel/TopicModel.hpp:892
↓ 1 callers
Method
getDocLL
src/TopicModel/TopicModel.hpp:830
↓ 1 callers
Method
getEta
src/python/handler/py_DT.cpp:156
↓ 1 callers
Method
getK
src/TopicModel/TopicModel.hpp:767
↓ 1 callers
Method
getLL
src/TopicModel/SLDAModel.hpp:102
↓ 1 callers
Method
getLLDocs
src/TopicModel/DTModel.hpp:345
↓ 1 callers
Method
getLLDocs
src/TopicModel/LDAModel.hpp:617
↓ 1 callers
Method
getLLRest
src/TopicModel/DTModel.hpp:365
↓ 1 callers
Method
getLLRest
src/TopicModel/LDACVB0Model.hpp:231
↓ 1 callers
Method
getLabels
src/python/handler/py_LLDA.cpp:129
↓ 1 callers
Method
getLiveK
src/TopicModel/HDPModel.hpp:478
↓ 1 callers
Method
getMdRange
src/TopicModel/GDMRModel.hpp:563
↓ 1 callers
Method
getMultiMetadataDict
src/python/handler/py_DMR.cpp:153
↓ 1 callers
Method
getNegativeLambdaLL
src/TopicModel/DMRModel.hpp:69
↓ 1 callers
Method
getNumTopicsForPrior
src/TopicModel/PAModel.hpp:465
↓ 1 callers
Method
getSubTopicBySuperTopic
src/TopicModel/PAModel.hpp:409
↓ 1 callers
Method
getSubTopicBySuperTopicSorted
src/TopicModel/PAModel.hpp:420
↓ 1 callers
Method
getSubTopicsByDocSorted
src/TopicModel/PAModel.hpp:445
↓ 1 callers
Method
getTDF
src/TopicModel/GDMRModel.hpp:505
↓ 1 callers
Method
getTDFBatch
src/TopicModel/GDMRModel.hpp:529
↓ 1 callers
Method
getVocabWeightedCf
src/TopicModel/TopicModel.hpp:914
↓ 1 callers
Method
getWordIdsByTopicSorted
src/TopicModel/TopicModel.hpp:812
↓ 1 callers
Method
getWordsByDocSorted
src/TopicModel/TopicModel.hpp:825
↓ 1 callers
Method
getZLikelihoods
src/TopicModel/PAModel.hpp:72
↓ 1 callers
Method
get_count_by_super_topic
Return the number of words allocated to each super-topic. .. versionadded:: 0.9.0
tomotopy/models.py:1622
↓ 1 callers
Method
get_count_by_topics
Return the number of words allocated to each topic.
tomotopy/models.py:301
↓ 1 callers
Method
get_regression_coef
Return the regression coefficient of the response variable `var_id`. Parameters ---------- var_id : int indicating the response variable, in rang
tomotopy/models.py:2046
↓ 1 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`) if `return
tomotopy/models.py:2182
↓ 1 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:2308
↓ 1 callers
Method
get_topic_words
Return the `top_n` words and their probabilities in the topic `topic_id` with `timepoint`. The return type is a `list` of (word:`str`, probability:`f
tomotopy/models.py:2628
↓ 1 callers
Method
get_var_type
Return the type of the response variable `var_id`. 'l' means linear variable, 'b' means binary variable.
tomotopy/models.py:2058
↓ 1 callers
Method
get_words
.. versionadded:: 0.4.2 Return the `top_n` words with their probabilities for the document.
tomotopy/utils.py:65
↓ 1 callers
Method
hash
src/Utils/serializer.hpp:737
↓ 1 callers
Function
hdp_example
(input_file, save_path)
examples/hdp_basic.py:4
↓ 1 callers
Function
hlda_example
(input_file, save_path)
examples/hlda_basic.py:5
↓ 1 callers
Function
infer
(cls, inputFile, mdFields, f, kargs, ps)
test/unit_test.py:246
↓ 1 callers
Function
infer_new_corpus
Since 0.10.0 version, inference using an instance of `Corpus` was supported.
examples/corpus_and_inference.py:7
↓ 1 callers
Function
infer_new_doc
Prior to version 0.10.0, we had to make instances of `Document` using `make_doc` first and call `infer`.
examples/corpus_and_inference.py:35
↓ 1 callers
Method
init
src/python/handler/PyUtils.h:2072
↓ 1 callers
Method
initGlobalState
src/TopicModel/LDACVB0Model.hpp:265
↓ 1 callers
Method
initGlobalState
src/TopicModel/LDAModel.hpp:739
↓ 1 callers
Method
initParameters
src/TopicModel/DMRModel.hpp:131
↓ 1 callers
Function
insertIntoEmpty
src/Utils/Utils.hpp:206
↓ 1 callers
Method
iterateBuffers
src/Utils/serializer.hpp:783
↓ 1 callers
Function
join
src/Utils/text.hpp:25
↓ 1 callers
Function
lda_example
(input_file, save_path)
examples/lda_basic.py:4
↓ 1 callers
Method
level
Return the level of a topic `topic_id`. Parameters ---------- topic_id : int an integer in range [0, `k`) indicating the topic
tomotopy/models.py:2440
↓ 1 callers
Function
lgamma512_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/avx512_gamma.h:18
↓ 1 callers
Function
lgammaApprox
src/Utils/math.h:158
↓ 1 callers
Function
lgamma_subt
src/Utils/EigenAddonOps.hpp:95
↓ 1 callers
Function
log2_ceil
src/Utils/sample.hpp:25
↓ 1 callers
Function
main
(args)
tomotopy/viewer/__main__.py:4
↓ 1 callers
Method
makeDoc
src/python/handler/py_LDA.cpp:223
↓ 1 callers
Method
makeGeneratorForInit
src/TopicModel/LDACVB0Model.hpp:281
↓ 1 callers
Method
makeMisc
src/TopicModel/DMR.h:58
↓ 1 callers
Method
make_doc
Return a new `tomotopy.utils.Document` instance for an unseen document with `words` and `labels` that can be used for `tomotopy.models.LDAModel.infer`
tomotopy/models.py:2296
↓ 1 callers
Method
mapToNewDictAdd
src/Utils/Dictionary.cpp:93
↓ 1 callers
Method
markEmptyBlocks
src/TopicModel/HLDAModel.hpp:151
↓ 1 callers
Method
mergeState
src/TopicModel/LDACVB0Model.hpp:209
↓ 1 callers
Method
minimize
src/Utils/LBFGS.h:85
← previous
next →
301–400 of 1,743, ranked by callers