Skip to content

Commit

Permalink
fixed a bug in parsing asymmetric alphas
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Mar 27, 2021
1 parent 18953da commit 3fa9ac0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
5 changes: 3 additions & 2 deletions README.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ tomotopy 란?

더 자세한 정보는 https://bab2min.github.io/tomotopy/index.kr.html 에서 확인하시길 바랍니다.

tomotopy의 가장 최신버전은 0.11.0 입니다.

시작하기
---------------
다음과 같이 pip를 이용하면 tomotopy를 쉽게 설치할 수 있습니다.
Expand Down Expand Up @@ -256,6 +254,9 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma

역사
-------
* 0.11.1 (2021-03-28)
* 비대칭 alpha와 관련된 치명적인 버그가 수정되었습니다. 이 버그로 인해 0.11.0 버전은 릴리즈에서 삭제되었습니다.

* 0.11.0 (2021-03-26)
* 짧은 텍스트를 위한 토픽 모델인 `tomotopy.PTModel`가 추가되었습니다.
* `tomotopy.HDPModel.infer`가 종종 segmentation fault를 발생시키는 문제가 해결되었습니다.
Expand Down
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ The current version of `tomoto` supports several major topic models including

Please visit https://bab2min.github.io/tomotopy to see more information.

The most recent version of tomotopy is 0.11.0.

Getting Started
---------------
You can install tomotopy easily using pip. (https://pypi.org/project/tomotopy/)
Expand Down Expand Up @@ -262,7 +260,10 @@ meaning you can use it for any reasonable purpose and remain in complete ownersh

History
-------
* 0.11.0 (2021-03-26)
* 0.11.1 (2021-03-28)
* A critical bug of asymmetric alphas was fixed. Due to this bug, version 0.11.0 has been removed from releases.

* 0.11.0 (2021-03-26) (removed)
* A new topic model `tomotopy.PTModel` for short texts was added into the package.
* An issue was fixed where `tomotopy.HDPModel.infer` causes a segmentation fault sometimes.
* A mismatch of numpy API version was fixed.
Expand Down
1 change: 1 addition & 0 deletions src/python/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ inline std::vector<Ty> broadcastObj(PyObject* obj, size_t k, FailMsg&& msg)
}
catch (const py::ConversionFail&)
{
PyErr_Clear();
ret.emplace_back(py::toCpp<Ty>(obj));
}
return ret;
Expand Down
2 changes: 1 addition & 1 deletion tomotopy/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.11.0'
__version__ = '0.11.1'
7 changes: 4 additions & 3 deletions tomotopy/documentation.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ tomotopy 란?
* Dynamic Topic Model (`tomotopy.DTModel`)
* Pseudo-document based Topic Model (`tomotopy.PTModel`)

tomotopy의 가장 최신버전은 0.11.0 입니다.

.. image:: https://badge.fury.io/py/tomotopy.svg

시작하기
Expand Down Expand Up @@ -337,7 +335,10 @@ tomotopy의 Python3 예제 코드는 https://github.com/bab2min/tomotopy/blob/ma

역사
-------
* 0.11.0 (2021-03-26)
* 0.11.1 (2021-03-28)
* 비대칭 alpha와 관련된 치명적인 버그가 수정되었습니다. 이 버그로 인해 0.11.0 버전은 릴리즈에서 삭제되었습니다.

* 0.11.0 (2021-03-26) (삭제됨)
* 짧은 텍스트를 위한 토픽 모델인 `tomotopy.PTModel`가 추가되었습니다.
* `tomotopy.HDPModel.infer`가 종종 segmentation fault를 발생시키는 문제가 해결되었습니다.
* numpy API 버전 충돌이 해결되었습니다.
Expand Down
7 changes: 4 additions & 3 deletions tomotopy/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ The current version of `tomoto` supports several major topic models including
* Dynamic Topic Model (`tomotopy.DTModel`)
* Pseudo-document based Topic Model (`tomotopy.PTModel`).

The most recent version of tomotopy is 0.11.0.

.. image:: https://badge.fury.io/py/tomotopy.svg

Getting Started
Expand Down Expand Up @@ -341,7 +339,10 @@ meaning you can use it for any reasonable purpose and remain in complete ownersh

History
-------
* 0.11.0 (2021-03-26)
* 0.11.1 (2021-03-28)
* A critical bug of asymmetric alphas was fixed. Due to this bug, version 0.11.0 has been removed from releases.

* 0.11.0 (2021-03-26) (removed)
* A new topic model `tomotopy.PTModel` for short texts was added into the package.
* An issue was fixed where `tomotopy.HDPModel.infer` causes a segmentation fault sometimes.
* A mismatch of numpy API version was fixed.
Expand Down

0 comments on commit 3fa9ac0

Please sign in to comment.