A package for estimating heterogeneous probability density functions.
Project description
dmx-learn - (Distributed Mixture Learning) A package for distributed heterogeneous density estimation. With only a few lines of code you can specify and fit complex models on variable-length heterogenous data.
📚 Documentation
View the full documentation on Read the Docs:
👉 https://dmx-learn.readthedocs.io/en/latest/
Installation
User installation with pip
> pip install --user /path/to/package
Building with mpi4py and umap-learn
> cd /path/to/package
> pip install --user .[optional]
Stats Examples
Examples using stats distributions that run locally are located in ./dmx/examples/
> export PYHONPATH=$PYTHONPATH:/path./to/dmx-learn
> PYTHONPATH=/path/to/package/ python ./dmx/examples/stats_examples/mixture_example.py
Running with Spark
Examples that run with Apache Spark are located in./dmx/examples_spark/
First build a wheel
> cd /path/to/dmx-learn
> pip install setuptools wheel
> python setup.py bdist_wheel
Run the example with below
> /path/to/spark/bin/spark-submit --master local[*] --py-files /path/to/package/dist/dmx-learn-0.1.8.4-py3-none-any.whl ./dmx/examples_spark/mixture_example.py
Running with MPI4PY
Examples that run with mpi4py are located in ./dmx/mpi4py/examples/
Below will run the example ./dmx/mpi4py/examples/estimation_example.py with 4 cores.
> export PYHONPATH=$PYTHONPATH:/path./to/dmx-learn
> mpiexec -n 4 python /path/to/package/dmx/mpi4py/examples/estimation_example.py
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dmx_learn-1.0.0.tar.gz.
File metadata
- Download URL: dmx_learn-1.0.0.tar.gz
- Upload date:
- Size: 259.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7ca4facf2f9c7dd5efa2977ea16b93e126c423d9fface18533d46f1a72676c3
|
|
| MD5 |
fa319d22bc48adfbee8a4177ea75e311
|
|
| BLAKE2b-256 |
d0212357eeeecc394789662132aa4549100d28e5305e3a0ca46ed6d5eb3f6051
|
File details
Details for the file dmx_learn-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dmx_learn-1.0.0-py3-none-any.whl
- Upload date:
- Size: 343.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3741cc079bccfb06a0aecea8615f344ee4cbe39d555d7e76e80c2f7b91651ee
|
|
| MD5 |
b58cb65bbfd50726a9afa63f8cb2729b
|
|
| BLAKE2b-256 |
0f4b2ce042d5bcb87de7075273d025b1d34956c298ec30fb4740913df34d7579
|