MCPcopy Create free account

hub / github.com/bab2min/tomotopy / functions

Functions1,743 in github.com/bab2min/tomotopy

↓ 1 callersFunctioncolorize
(a, colors)
tomotopy/viewer/viewer_server.py:67
↓ 1 callersMethodcomputeHash
src/Utils/Dictionary.cpp:53
↓ 1 callersMethodcompute_data_density
(self, x_values, axis, categorical_metadata)
tomotopy/viewer/viewer_server.py:567
↓ 1 callersMethodconvert_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 callersMethodcopy
src/TopicModel/SLDAModel.hpp:74
↓ 1 callersMethodcopy
.. versionadded:: 0.12.0 Return a new deep-copied instance of the current instance
tomotopy/models.py:295
↓ 1 callersFunctioncorpus_and_labeling_example
(input_file)
examples/corpus_and_labeling.py:4
↓ 1 callersFunctioncos_ps
almost the same as sin_ps */
src/Utils/avx_mathfun.h:473
↓ 1 callersMethodcurptr
src/Utils/serializer.hpp:46
↓ 1 callersFunctiondata_feeder
(input_file)
examples/dtm.py:6
↓ 1 callersFunctiondigamma
src/Utils/math.h:114
↓ 1 callersFunctiondigammaf
src/Utils/math.h:71
↓ 1 callersFunctiondigammal
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 callersMethoddistributePartition
src/TopicModel/LDAModel.hpp:475
↓ 1 callersFunctiondrawPolyaGamma
src/Utils/PolyaGamma.hpp:195
↓ 1 callersFunctiondraw_contour_map
(arr, interval, smooth=True)
tomotopy/viewer/viewer_server.py:75
↓ 1 callersMethoddropPathOne
src/TopicModel/HLDAModel.hpp:87
↓ 1 callersMethodend
src/Utils/tvector.hpp:165
↓ 1 callersMethodestimate
src/TopicModel/SLDAModel.hpp:109
↓ 1 callersMethodestimate
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 callersFunctionestimate_confidence_interval_of_dd
(alpha, p=0.95, samples=16384)
tomotopy/viewer/viewer_server.py:164
↓ 1 callersMethodevaluateLambdaObj
src/TopicModel/DMRModel.hpp:75
↓ 1 callersFunctionexp_ps
src/Utils/avx_mathfun.h:266
↓ 1 callersMethodextract
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 callersFunctionextractPMIBENgrams
src/Labeling/Phraser.hpp:371
↓ 1 callersFunctionextract_ngrams_example
(input_file)
examples/extract_ngram.py:4
↓ 1 callersMethodfeedNext
src/python/handler/PyUtils.h:2038
↓ 1 callersFunctionfeeder
(file)
test/unit_test.py:348
↓ 1 callersMethodfindFail
src/Utils/Trie.hpp:167
↓ 1 callersMethodfindNode
src/Utils/Trie.hpp:115
↓ 1 callersFunctionfind_best_labels_for_range
(start, end, max_labels)
tomotopy/viewer/viewer_server.py:137
↓ 1 callersMethodfindall
src/python/handler/py_utils.cpp:1175
↓ 1 callersMethodforLarge
src/Utils/math.h:128
↓ 1 callersMethodforNonFinite
src/Utils/math.h:129
↓ 1 callersMethodforSmall
src/Utils/math.h:123
↓ 1 callersMethodgenerateLeafNode
src/TopicModel/HLDAModel.hpp:281
↓ 1 callersMethodgetAlpha
src/python/handler/py_DT.cpp:141
↓ 1 callersFunctiongetArrayDtype
src/python/handler/PyUtils.h:1323
↓ 1 callersFunctiongetArraySize
src/python/handler/PyUtils.h:1337
↓ 1 callersMethodgetCountByTopic
src/python/handler/py_DT.cpp:127
↓ 1 callersMethodgetDocIdByUid
src/TopicModel/TopicModel.hpp:892
↓ 1 callersMethodgetDocLL
src/TopicModel/TopicModel.hpp:830
↓ 1 callersMethodgetEta
src/python/handler/py_DT.cpp:156
↓ 1 callersMethodgetK
src/TopicModel/TopicModel.hpp:767
↓ 1 callersMethodgetLL
src/TopicModel/SLDAModel.hpp:102
↓ 1 callersMethodgetLLDocs
src/TopicModel/DTModel.hpp:345
↓ 1 callersMethodgetLLDocs
src/TopicModel/LDAModel.hpp:617
↓ 1 callersMethodgetLLRest
src/TopicModel/DTModel.hpp:365
↓ 1 callersMethodgetLLRest
src/TopicModel/LDACVB0Model.hpp:231
↓ 1 callersMethodgetLabels
src/python/handler/py_LLDA.cpp:129
↓ 1 callersMethodgetLiveK
src/TopicModel/HDPModel.hpp:478
↓ 1 callersMethodgetMdRange
src/TopicModel/GDMRModel.hpp:563
↓ 1 callersMethodgetMultiMetadataDict
src/python/handler/py_DMR.cpp:153
↓ 1 callersMethodgetNegativeLambdaLL
src/TopicModel/DMRModel.hpp:69
↓ 1 callersMethodgetNumTopicsForPrior
src/TopicModel/PAModel.hpp:465
↓ 1 callersMethodgetSubTopicBySuperTopic
src/TopicModel/PAModel.hpp:409
↓ 1 callersMethodgetSubTopicBySuperTopicSorted
src/TopicModel/PAModel.hpp:420
↓ 1 callersMethodgetSubTopicsByDocSorted
src/TopicModel/PAModel.hpp:445
↓ 1 callersMethodgetTDF
src/TopicModel/GDMRModel.hpp:505
↓ 1 callersMethodgetTDFBatch
src/TopicModel/GDMRModel.hpp:529
↓ 1 callersMethodgetVocabWeightedCf
src/TopicModel/TopicModel.hpp:914
↓ 1 callersMethodgetWordIdsByTopicSorted
src/TopicModel/TopicModel.hpp:812
↓ 1 callersMethodgetWordsByDocSorted
src/TopicModel/TopicModel.hpp:825
↓ 1 callersMethodgetZLikelihoods
src/TopicModel/PAModel.hpp:72
↓ 1 callersMethodget_count_by_super_topic
Return the number of words allocated to each super-topic. .. versionadded:: 0.9.0
tomotopy/models.py:1622
↓ 1 callersMethodget_count_by_topics
Return the number of words allocated to each topic.
tomotopy/models.py:301
↓ 1 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_var_type
Return the type of the response variable `var_id`. 'l' means linear variable, 'b' means binary variable.
tomotopy/models.py:2058
↓ 1 callersMethodget_words
.. versionadded:: 0.4.2 Return the `top_n` words with their probabilities for the document.
tomotopy/utils.py:65
↓ 1 callersMethodhash
src/Utils/serializer.hpp:737
↓ 1 callersFunctionhdp_example
(input_file, save_path)
examples/hdp_basic.py:4
↓ 1 callersFunctionhlda_example
(input_file, save_path)
examples/hlda_basic.py:5
↓ 1 callersFunctioninfer
(cls, inputFile, mdFields, f, kargs, ps)
test/unit_test.py:246
↓ 1 callersFunctioninfer_new_corpus
Since 0.10.0 version, inference using an instance of `Corpus` was supported.
examples/corpus_and_inference.py:7
↓ 1 callersFunctioninfer_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 callersMethodinit
src/python/handler/PyUtils.h:2072
↓ 1 callersMethodinitGlobalState
src/TopicModel/LDACVB0Model.hpp:265
↓ 1 callersMethodinitGlobalState
src/TopicModel/LDAModel.hpp:739
↓ 1 callersMethodinitParameters
src/TopicModel/DMRModel.hpp:131
↓ 1 callersFunctioninsertIntoEmpty
src/Utils/Utils.hpp:206
↓ 1 callersMethoditerateBuffers
src/Utils/serializer.hpp:783
↓ 1 callersFunctionjoin
src/Utils/text.hpp:25
↓ 1 callersFunctionlda_example
(input_file, save_path)
examples/lda_basic.py:4
↓ 1 callersMethodlevel
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 callersFunctionlgamma512_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 callersFunctionlgammaApprox
src/Utils/math.h:158
↓ 1 callersFunctionlgamma_subt
src/Utils/EigenAddonOps.hpp:95
↓ 1 callersFunctionlog2_ceil
src/Utils/sample.hpp:25
↓ 1 callersFunctionmain
(args)
tomotopy/viewer/__main__.py:4
↓ 1 callersMethodmakeDoc
src/python/handler/py_LDA.cpp:223
↓ 1 callersMethodmakeGeneratorForInit
src/TopicModel/LDACVB0Model.hpp:281
↓ 1 callersMethodmakeMisc
src/TopicModel/DMR.h:58
↓ 1 callersMethodmake_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 callersMethodmapToNewDictAdd
src/Utils/Dictionary.cpp:93
↓ 1 callersMethodmarkEmptyBlocks
src/TopicModel/HLDAModel.hpp:151
↓ 1 callersMethodmergeState
src/TopicModel/LDACVB0Model.hpp:209
↓ 1 callersMethodminimize
src/Utils/LBFGS.h:85
← previousnext →301–400 of 1,743, ranked by callers