From 3b151bcf3cd00fd7cd084a71c879f7b412cf0af9 Mon Sep 17 00:00:00 2001 From: bab2min Date: Thu, 21 Jul 2022 00:19:36 +0900 Subject: [PATCH] updated documentations --- README.kr.rst | 13 +++++++++++++ README.rst | 12 ++++++++++++ document/document_header.html | 3 ++- src/python/docs.h | 17 +++++++++++++++++ src/python/py_HDP.cpp | 2 +- tomotopy/coherence.py | 8 +++++++- tomotopy/documentation.kr.rst | 12 ++++++++++++ tomotopy/documentation.rst | 12 ++++++++++++ 8 files changed, 76 insertions(+), 3 deletions(-) diff --git a/README.kr.rst b/README.kr.rst index dfbfd8f..9665d4c 100644 --- a/README.kr.rst +++ b/README.kr.rst @@ -305,6 +305,19 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma 역사 ------- +* 0.12.3 (2022-07-19) + * 기능 개선 + * 이제 `tomotopy.LDAModel.add_doc()`로 빈 문서를 삽입할 경우 예외를 발생시키는 대신 그냥 무시합니다. 새로 추가된 인자인 `ignore_empty_words`를 False로 설정할 경우 이전처럼 예외를 발생시킵니다. + * 유효하지 않은 토픽들을 모델에서 제거하는 `tomotopy.HDPModel.purge_dead_topics()` 메소드가 추가되었습니다. + * 버그 수정 + * `tomotopy.SLDAModel`에서 `nuSq` 값을 지정할 때 발생하는 문제를 해결했습니다. (by @jucendrero) + * `tomotopy.utils.Coherence`가 `tomotopy.DTModel`에 대해서 작동하지 않는 문제를 해결했습니다. + * `train()` 호출 전에 `make_dic()`을 호출할 때 종종 크래시가 발생하는 문제를 해결했습니다. + * seed가 고정된 상태에서도 `tomotopy.DMRModel`, `tomotopy.GDMRModel`의 결과가 다르게 나오는 문제를 해결했습니다. + * `tomotopy.DMRModel`, `tomotopy.GDMRModel`의 파라미터 최적화 과정이 부정확하던 문제를 해결했습니다. + * `tomotopy.PTModel.copy()` 호출 시 종종 크래시가 발생하는 문제를 해결했습니다. + * 싱글스레드에서의 작동 효율을 개선했습니다. + * 0.12.2 (2021-09-06) * `min_cf > 0`, `min_df > 0`나 `rm_top > 0`로 설정된 `tomotopy.HDPModel`에서 `convert_to_lda`를 호출할때 크래시가 발생하는 문제를 해결했습니다. * `tomotopy.Document.get_topics`와 `tomotopy.Document.get_topic_dist`에 `from_pseudo_doc` 인자가 추가되었습니다. diff --git a/README.rst b/README.rst index f82291d..371752c 100644 --- a/README.rst +++ b/README.rst @@ -309,6 +309,18 @@ meaning you can use it for any reasonable purpose and remain in complete ownersh History ------- +* 0.12.3 (2022-07-19) + * New features + * Now, inserting an empty document using `tomotopy.LDAModel.add_doc()` just ignores it instead of raising an exception. If the newly added argument `ignore_empty_words` is set to False, an exception is raised as before. + * `tomotopy.HDPModel.purge_dead_topics()` method is added to remove non-live topics from the model. + * Bug fixes + * Fixed an issue that prevents setting user defined values for nuSq in `tomotopy.SLDAModel` (by @jucendrero). + * Fixed an issue where `tomotopy.utils.Coherence` did not work for `tomotopy.DTModel`. + * Fixed an issue that often crashed when calling `make_dic()` before calling `train()`. + * Resolved the problem that the results of `tomotopy.DMRModel` and `tomotopy.GDMRModel` are different even when the seed is fixed. + * The parameter optimization process of `tomotopy.DMRModel` and `tomotopy.GDMRModel` has been improved. + * Fixed an issue that sometimes crashed when calling `tomotopy.PTModel.copy()`. + * 0.12.2 (2021-09-06) * An issue where calling `convert_to_lda` of `tomotopy.HDPModel` with `min_cf > 0`, `min_df > 0` or `rm_top > 0` causes a crash has been fixed. * A new argument `from_pseudo_doc` is added to `tomotopy.Document.get_topics` and `tomotopy.Document.get_topic_dist`. diff --git a/document/document_header.html b/document/document_header.html index 3eb06d9..932b2d5 100644 --- a/document/document_header.html +++ b/document/document_header.html @@ -10,8 +10,9 @@ tomotopy English 한국어