Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Aug 4, 2020
1 parent e3174dd commit 235a77b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/python/docs.h
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ DOC_SIGNATURE_EN_KO(LDA_load__doc__,
u8R""(`filename` 경로의 파일로부터 모델 인스턴스를 읽어들여 반환합니다.)"");

DOC_SIGNATURE_EN_KO(LDA_summary__doc__,
"summary(self, initial_hp=True, params=True, topic_word_top_n=5, file=sys.stdout, flush=False)",
"summary(self, initial_hp=True, params=True, topic_word_top_n=5, file=None, flush=False)",
u8R""(.. versionadded:: 0.9.0
print human-readable description of the current model
Expand Down
4 changes: 2 additions & 2 deletions tomotopy/documentation.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma
-------
* 0.9.0 (2020-08-04)
* 모델의 상태를 알아보기 쉽게 출력해주는 `tomotopy.LDAModel.summary()` 메소드가 추가되었습니다.
* 난수 생성기를 `EigenRand`_로 대체하여 생성 속도를 높이고 플랫폼 간의 결과 차이를 해소하였습니다.
* 난수 생성기를 [EigenRand]로 대체하여 생성 속도를 높이고 플랫폼 간의 결과 차이를 해소하였습니다.
* 이로 인해 `seed`가 동일해도 모델 학습 결과가 0.9.0 이전 버전과 달라질 수 있습니다.
* `tomotopy.HDPModel`에서 간헐적으로 발생하는 학습 오류를 수정했습니다.
* 이제 `tomotopy.DMRModel.alpha`가 메타데이터별 토픽 분포의 사전 파라미터를 보여줍니다.
Expand All @@ -308,7 +308,7 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma
* 이제 `tomotopy.MGLDAModel.get_count_by_topics()`가 전역 토픽과 지역 토픽 모두의 단어 개수를 보여줍니다.
* `tomotopy.PAModel.alpha`, `tomotopy.PAModel.subalpha`, `tomotopy.PAModel.get_count_by_super_topic()`이 추가되었습니다.

.. _EigenRand: https://github.com/bab2min/EigenRand
[EigenRand]: https://github.com/bab2min/EigenRand

* 0.8.2 (2020-07-14)
* `tomotopy.DTModel.num_timepoints`와 `tomotopy.DTModel.num_docs_by_timepoint` 프로퍼티가 추가되었습니다.
Expand Down
4 changes: 2 additions & 2 deletions tomotopy/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ History
-------
* 0.9.0 (2020-08-04)
* The `tomotopy.LDAModel.summary()` method, which prints human-readable summary of the model, has been added.
* The random number generator of package has been replaced with `EigenRand`_. It speeds up the random number generation and solves the result difference between platforms.
* The random number generator of package has been replaced with [EigenRand]. It speeds up the random number generation and solves the result difference between platforms.
* Due to above, even if `seed` is the same, the model training result may be different from the version before 0.9.0.
* Fixed a training error in `tomotopy.HDPModel`.
* `tomotopy.DMRModel.alpha` now shows Dirichlet prior of per-document topic distribution by metadata.
Expand All @@ -311,7 +311,7 @@ History
* `tomotopy.MGLDAModel.get_count_by_topics()` now returns the word count for both global and local topics.
* `tomotopy.PAModel.alpha`, `tomotopy.PAModel.subalpha`, and `tomotopy.PAModel.get_count_by_super_topic()` have been added.

.. _EigenRand: https://github.com/bab2min/EigenRand
[EigenRand]: https://github.com/bab2min/EigenRand

* 0.8.2 (2020-07-14)
* New properties `tomotopy.DTModel.num_timepoints` and `tomotopy.DTModel.num_docs_by_timepoint` have been added.
Expand Down

0 comments on commit 235a77b

Please sign in to comment.