tomotopy
tomotopy copied to clipboard
Python package of Tomoto, the Topic Modeling Tool
Currently, phrasing functions are duplicated in `tomotopy.utils.Corpus.extract_ngrams` and `tomotopy.label.PMIExtractor.extract_ngrams`. It would be better to redesign it with one unified function. Requirements * should receive either a raw `tomotopy.utils.Corpus` or bound...
Depending on the environment(32bit or 64bit / SSE2, AVX or AVX2) in which tomotopy are installed, different results will be produced with the same seed. It is possibly related to...
Hi there, Is it possible to initialise the topic-word distribution of the DT model? Normally I think this is done with LDA. Thanks.
Just that: is there an extension, and what is it?
Hey @bab2min, Hope things are good with you! I'm working on updating the Ruby gem from 0.12.2 to 0.12.3, but am running into a few errors when `-march=native` is set...
Running tomotopy (0.12.3) in a jupyter notebook. Calling LDAModel.add_doc with an invalid document, e.g.: ``` mdl.add_doc([['a', 'b']]) ``` or ``` mdl.add_doc([[1, 2]]) ``` crashes the kernel. Here's what I think...
Hello, When I'm trying to visualize the distributions from PAModel with pyLDAvis, I use `get_sub_topic_dist()` for the documents distributions, like this: `dt_dist = np.stack([doc.get_sub_topic_dist() for doc in mdl.docs])` But I...
안녕하십니까 너무 자주 문의를 드려, 귀찮으실까 죄송스럽네요. mdl.make_doc을 통한 새로운 문서 집합에 대해서도 mdl.get_topic_words 나 mdl.get_topic_word_dist 같은 결과물을 낼 수 있는지 문의드립니다. ※ 해당 함수들의 def 를 참고해보고 싶었는데 찾지를...
1. For evaluation, is it different from OCTIS? https://github.com/MIND-Lab/OCTIS#available-models 2. Can it handle Contextual Topic Models like https://github.com/MilaNLProc/contextualized-topic-models 3. Is this repo ready for Short Text in Python? https://github.com/qiang2100/STTM 4....
When running `pip install tomotopy` I get the following output: ```Collecting tomotopy Using cached tomotopy-0.12.7.tar.gz (1.3 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: numpy>=1.11.0 in /Users/path/to/project/venv/lib/python3.12/site-packages (from tomotopy)...