Skip to content

Commit

Permalink
Merge pull request #145 from bab2min/dev_12_2
Browse files Browse the repository at this point in the history
Dev 0.12.2
  • Loading branch information
bab2min authored Sep 6, 2021
2 parents faaa021 + 143d343 commit 20a44b0
Show file tree
Hide file tree
Showing 12 changed files with 567 additions and 110 deletions.
8 changes: 8 additions & 0 deletions README.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma

역사
-------
* 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` 인자가 추가되었습니다.
이 인자는 `PTModel`에 대해서만 유효하며, 이를 통해 토픽 분포를 구할 때 가상 문헌을 사용할지 여부를 선택할 수 있습니다.
* `tomotopy.PTModel` 생성시 기본 인자값이 변경되었습니다. `p`를 생략시 `k * 10`으로 설정됩니다.
* `make_doc`으로 생성한 문헌을 `infer` 없이 사용할 경우 발생하는 크래시를 해결하고 경고 메세지를 추가했습니다.
* 내부 C++코드가 clang c++17 환경에서 컴파일에 실패하는 문제를 해결했습니다.

* 0.12.1 (2021-06-20)
* `tomotopy.LDAModel.set_word_prior()`가 크래시를 발생시키던 문제를 해결했습니다.
* 이제 `tomotopy.LDAModel.perplexity`와 `tomotopy.LDAModel.ll_per_word`가 TermWeight가 ONE이 아닌 경우에도 정확한 값을 반환합니다.
Expand Down
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,14 @@ meaning you can use it for any reasonable purpose and remain in complete ownersh

History
-------
* 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`.
This argument is only valid for documents of `PTModel`, it enables to control a source for computing topic distribution.
* A default value for argument `p` of `tomotopy.PTModel` has been changed. The new default value is `k * 10`.
* Using documents generated by `make_doc` without calling `infer` doesn't cause a crash anymore, but just print warning messages.
* An issue where the internal C++ code isn't compiled at clang c++17 environment has been fixed.

* 0.12.1 (2021-06-20)
* An issue where `tomotopy.LDAModel.set_word_prior()` causes a crash has been fixed.
* Now `tomotopy.LDAModel.perplexity` and `tomotopy.LDAModel.ll_per_word` return the accurate value when `TermWeight` is not `ONE`.
Expand Down
3 changes: 2 additions & 1 deletion document/document_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
<a class="homelink" rel="home" title="tomotopy Home" href="/tomotopy" style="display:block; font-size:2em; font-weight:bold; color:#555; padding-bottom:.5em; border-bottom:1px solid silver;"> <img src="/tomotopy/tomoto.png" alt="" style="height:1.5em;"> tomotopy </a>
<a id='lang-en' href="../en/index.html">English</a> <a id='lang-kr' href="../kr/index.html">한국어</a>
<div id="version-link">
<span>v0.12.1</span>
<span>v0.12.2</span>
<ul>
<li><a href='/tomotopy/v0.12.2/en'>v0.12.2</a></li>
<li><a href='/tomotopy/v0.12.1/en'>v0.12.1</a></li>
<li><a href='/tomotopy/v0.12.0/en'>v0.12.0</a></li>
<li><a href='/tomotopy/v0.11.1/en'>v0.11.1</a></li>
Expand Down
Loading

0 comments on commit 20a44b0

Please sign in to comment.