Yet another CGS sampler for Latent Dirichlet Allocation.
Project description
LDA11 - yet another collapsed gibbs sampler for python.
Features
- Support parallelized sampler proposed in Distributed Inference for Latent Dirichlet Allocation.
- Implement CGS_p estimator for more precise point estimate of topic-word distribution.
- Implement Labelled LDA
- Able to obtain per-word topic frequency.
The implementaion relies on Eigen for faster array multiplication and pybind11 for simple binding.
Installation
You can install the wheel from pypi:
pip install lda11
For x64 architecture, the above wheel is built using AVX. If it is not convenient for you, try e.g.
CFLAGS="-march=native" pip install git+https://github.com/tohtsky/lda11
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file lda11-0.3.0.2.tar.gz
.
File metadata
- Download URL: lda11-0.3.0.2.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 095521e6d35871a8032278cb0fcd1390fc54bcfd84967fde5653f7d51a3c9cdc |
|
MD5 | 43bb7a95b87bb8bb66f40ed3ad942923 |
|
BLAKE2b-256 | b6ed4f7ecec4694a1568a03830cbdee4005b57ca0386d6476635f48c54ba0aab |
File details
Details for the file lda11-0.3.0.2-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 154.1 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f4289f501d3bf4d99ed802ba478f4f84d04b09e6b95602fa7ef1f3c08debec5 |
|
MD5 | 1c30e0295e58accc67f3b7e82d40097f |
|
BLAKE2b-256 | 6a04bc815eb290e7d39495197169d55cd7b280dbc3ab46d672fbc3d8340c8955 |
File details
Details for the file lda11-0.3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d29b0bc9609cd448bab70e3d79f9f342bdac6b306ff5ff0b11527c5dc8d77d45 |
|
MD5 | 4390b40d7358a9e641e1cab2caf70997 |
|
BLAKE2b-256 | ef779e98775efff4caaeae76cbfdab4bd1cf2f3ce5b890ca646fe471f20773bb |
File details
Details for the file lda11-0.3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd9be7e58cba331ddd451955740a42cdc89fd35f2d97648e884c87cb1688c355 |
|
MD5 | 2ce03ecdd88a3b3548960a811ec3ddd3 |
|
BLAKE2b-256 | 44c32fbfbe2396e5640d16a605cfa858d3ae486c6f1e973512e04d2cdb38692f |
File details
Details for the file lda11-0.3.0.2-cp310-cp310-macosx_10_9_universal2.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp310-cp310-macosx_10_9_universal2.whl
- Upload date:
- Size: 388.0 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09991732d421d7509b10b923a899a4b553f9d4634d78da68c1d41331365f3868 |
|
MD5 | 13bb74fee89a5f96956a14a4262c416b |
|
BLAKE2b-256 | 17962c9a4e934a9c72b9d4aa23b807490163b55f1da0208dca565455008035b5 |
File details
Details for the file lda11-0.3.0.2-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 152.3 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35c5846433a59a7be927629a1ea212a11f0e8b48a97dee6202f9b6aa6be54c0c |
|
MD5 | a7c1b780d4c2c648028f7eb9e7c707b6 |
|
BLAKE2b-256 | 29824fb0a6de6dd170093e98d1e2a07d8e32ea11803a22c342923776d98f0fdc |
File details
Details for the file lda11-0.3.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce9212798f194820455d7c297bbf98b8334bbd2a58e3ee300b005d00c0eb42b |
|
MD5 | 00f4290324b3d573b3d97d429a4ae387 |
|
BLAKE2b-256 | 5f5a72742554f9607b9817eadc323de5bc634faa414993b97e5139722cc9c411 |
File details
Details for the file lda11-0.3.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 635278e08fe16402af119b12ee6b2b7a8d8e2dba866b9e34c4f685eba4392a38 |
|
MD5 | 58870d57addf86fae3fae561398edc73 |
|
BLAKE2b-256 | 3e909efc6bd6634424a9acb0621791c456d6e33884301f19bc2befb2266d295e |
File details
Details for the file lda11-0.3.0.2-cp39-cp39-macosx_10_9_universal2.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp39-cp39-macosx_10_9_universal2.whl
- Upload date:
- Size: 388.2 kB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ccc201c84afeb2e989e9d756d6f3f3535940854ac24909795c37db185287584 |
|
MD5 | 9c7992d1a516e767a24408ef6aa37271 |
|
BLAKE2b-256 | 6916442a773e967467aba91a1a5f8c659c2d3cceb85f56a50e75c53855d88869 |
File details
Details for the file lda11-0.3.0.2-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 154.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d741868843c41e931c9fae7cbb6a68de0d21ef070f98d1e74115648897116f |
|
MD5 | 58e7afb40a69df519a7c753d6ab9633d |
|
BLAKE2b-256 | f845e63462f5a540eea2641e096aafcc830794c5bea2e5318927e8dc2c14b319 |
File details
Details for the file lda11-0.3.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea53aeeb764210c3340c49b02683ccf39294de38d0d283b4f49e5609704121b |
|
MD5 | cb899c7523b99377d002d1080cbb74ab |
|
BLAKE2b-256 | b3d407d3e558c74e666bf3dad1c667a148d17a9fa4197fa61e6fd2bf8ef53f71 |
File details
Details for the file lda11-0.3.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4392fd0c6bab8daf2be0312481a58455f309afbaaf1d85f643434e26bd36ae38 |
|
MD5 | d5a54fde1ec8c8d7d24a8e353d52faff |
|
BLAKE2b-256 | e7784d603bf3dd0929cbf441777699d6f5a780cd17f9a01c2ae4913a6faec0d3 |
File details
Details for the file lda11-0.3.0.2-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 214.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd08a733e54fc73bf3b23ea35382549e56c85c33f5014bb8a0a351c940bb181 |
|
MD5 | 9db9173137af09454c0dab0bc8d26890 |
|
BLAKE2b-256 | aca67fae68497d712e1e739385785f9b522dbd569ab8d712442e64d79150d5e0 |
File details
Details for the file lda11-0.3.0.2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 154.7 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c1491435e5ea50faaaa1fcc96fb4e02618b5bf1cfe2f1e30976d810ab2596e |
|
MD5 | 855a9cabd13fabe084d1c6762cc0ed2d |
|
BLAKE2b-256 | f36399d145ba86d226ffe16a93fd1cad9225e76a086044fc264e077e3dd9100e |
File details
Details for the file lda11-0.3.0.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7c14bffb5c9e5d38e646bbda985b975009bbefd87721f755997af1684ed1a00 |
|
MD5 | fb5ff99d6255439e8ab7fabef2718517 |
|
BLAKE2b-256 | 4cc407b839835902d8766320365ef71d2a46db57e5749a43d3c53e7d30528f01 |
File details
Details for the file lda11-0.3.0.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede20ef96885daf8f2ccfda6a0750317066799d51d25122013a2bd201840416b |
|
MD5 | 787046be252a93dec84c6c92aea36110 |
|
BLAKE2b-256 | 23428e92a040161e3f2ac011513f217a43c87f7e02b224257bd4c8cb7293216f |
File details
Details for the file lda11-0.3.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: lda11-0.3.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 212.4 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5bd5e03a2b399122fe3fbf5d8bafad7e990bb2df6c5d3ecc9162bbae760996e |
|
MD5 | 0102a56163c879604531451d84023d3b |
|
BLAKE2b-256 | a7f59637c0a2c78b4c3cb97bc8f6c4d4f71f95535a93f8189240b250a9997ed2 |