From 70927d192aeec03a83ac5a0b4f4ec6a3a8d433c2 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Sun, 8 Dec 2024 18:15:29 -0500 Subject: [PATCH 1/4] Run rye sync --update-all --- requirements-dev.lock | 4 ++-- requirements.lock | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.lock b/requirements-dev.lock index 36cbfd1..9972a69 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -200,7 +200,7 @@ mkdocs-autorefs==1.2.0 # via mkdocstrings-python mkdocs-get-deps==0.2.0 # via mkdocs -mkdocs-material==9.5.47 +mkdocs-material==9.5.48 mkdocs-material-extensions==1.3.1 # via mkdocs-material mkdocstrings==0.27.0 @@ -227,7 +227,7 @@ notebook==7.3.1 notebook-shim==0.2.4 # via jupyterlab # via notebook -numpy==2.1.3 +numpy==2.2.0 # via contourpy # via imageio # via matplotlib diff --git a/requirements.lock b/requirements.lock index d4e53d5..5c7a52a 100644 --- a/requirements.lock +++ b/requirements.lock @@ -37,7 +37,7 @@ mpmath==1.3.0 networkx==3.4.2 # via scikit-image # via torch -numpy==2.1.3 +numpy==2.2.0 # via contourpy # via imageio # via matplotlib From d2c00445daf16912265a501f2c5d8c6052d5a3f7 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Sun, 8 Dec 2024 18:34:51 -0500 Subject: [PATCH 2/4] Use three column layout --- README.md | 1 - docs/index.md | 1 - mkdocs.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/README.md b/README.md index 59ef3fe..6dc8db5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ ![License](https://img.shields.io/pypi/l/tinytopics) Topic modeling via sum-to-one constrained neural Poisson NMF. - Built with PyTorch, runs on both CPUs and GPUs. ## Installation diff --git a/docs/index.md b/docs/index.md index 579ffe7..8fd9c84 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,6 @@ ![License](https://img.shields.io/pypi/l/tinytopics) Topic modeling via sum-to-one constrained neural Poisson NMF. - Built with PyTorch, runs on both CPUs and GPUs. ## Installation diff --git a/mkdocs.yml b/mkdocs.yml index 45695da..16ed01f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -83,4 +83,3 @@ theme: - search.highlight - search.suggest - toc.follow - - toc.integrate From 8ce314bb767197532d88e0adc313c6af605422cc Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Sun, 8 Dec 2024 18:35:34 -0500 Subject: [PATCH 3/4] Update news for v0.5.0 --- CHANGELOG.md | 13 +++++++++++++ docs/changelog.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aac236..922d08c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## tinytopics 0.5.0 + +### Improvements + +- Increased the speed of `generate_synthetic_data()` significantly by using + direct mixture sampling, which leverages the properties of multinomial + distributions (#21). + + This change makes simulating data at the scale of 100K x 100K + more feasible. Although the approaches before and after are mathematically + equivalent, the data generated with the same seed in previous versions and + this version onward will be bitwise different. + ## tinytopics 0.4.1 ### Documentation diff --git a/docs/changelog.md b/docs/changelog.md index 7aac236..922d08c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,18 @@ # Changelog +## tinytopics 0.5.0 + +### Improvements + +- Increased the speed of `generate_synthetic_data()` significantly by using + direct mixture sampling, which leverages the properties of multinomial + distributions (#21). + + This change makes simulating data at the scale of 100K x 100K + more feasible. Although the approaches before and after are mathematically + equivalent, the data generated with the same seed in previous versions and + this version onward will be bitwise different. + ## tinytopics 0.4.1 ### Documentation From a722dd097833c9dd79071d357a7e99cf8056f521 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Sun, 8 Dec 2024 18:35:47 -0500 Subject: [PATCH 4/4] Increment version number to 0.5.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 479ea9f..0dbc2c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tinytopics" -version = "0.4.1" +version = "0.5.0" description = "Topic modeling via sum-to-one constrained neural Poisson non-negative matrix factorization" authors = [ { name = "Nan Xiao", email = "me@nanx.me" }