jax inteface to a C++ implementation of the mixsqp algorithm
Project description
MIXSQPX: A Jax-compatible interface to the mixSQP algorithm
This package provides a jax-compatible interface to the mixSQP algorithm described in,
Kim, Y., Carbonetto, P., Stephens, M., & Anitescu, M. (2020). A Fast Algorithm for Maximum Likelihood Estimation of Mixture Proportions Using Sequential Quadratic Programming. Journal of Computational and Graphical Statistics, 29(2), 261–273.
The implementation of the mixSQP algorithm in this package was ported from the R implementation by the authors of this paper which uses the Rarmadillo package as an interface to the Armadillo C++ library.
This package (misxqpx) provides a function mixsolve, which can can be transformed with Jax transformations such as jit.
Installation
We use the Pixi package manager to handle installation and dependencies.
Linux Installation
# Install pixi if you don't have it already
curl -fsSL https://pixi.sh/install.sh | bash
# Clone the repository
git clone https://github.com/pdiegert/mixsqpx.git
cd mixsqpx
# Install dependencies and build the package
pixi install
Windows Installation
# Install pixi if you don't have it already
iwr -useb https://pixi.sh/install.ps1 | iex
# Clone the repository
git clone https://github.com/pdiegert/mixsqpx.git
cd mixsqpx
# Install dependencies and build the package
pixi install
Verification
Run the test suite to verify your installation:
pixi run test
License
This project is licensed under the MIT License - see the LICENCE file for details.
Acknowledgements
This project includes code adapted from the mixSQP project, which is available under the MIT license. We thank the original authors (Youngseok Kim, Peter Carbonetto, Matthew Stephens and Mihai Anitescu) for their work.
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 Distributions
Built Distributions
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 mixsqpx-0.1.4-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: mixsqpx-0.1.4-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 7.4 MB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaaf414615e2668cbe9415ca91009e2cae8e984deab4b0f8e9e30c54f62205cf
|
|
| MD5 |
a78b011bdba9c24ca42aa324b4b0019a
|
|
| BLAKE2b-256 |
bca9f2bccf0360023861d571136e6c7ae568c6b65819c64a6b5c52f216b79b78
|
File details
Details for the file mixsqpx-0.1.4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mixsqpx-0.1.4-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 54.9 MB
- Tags: CPython 3.12+, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd5b316c75932679276abdc455d8134be1479ba8842c818860a67e0b9083eebf
|
|
| MD5 |
d47a4c83f7f93cd72879d01aa9c0117d
|
|
| BLAKE2b-256 |
5a8f6f9abe6c8c8e76a2385b5b4c86a882920e9c0b4eafe3ca5f80d3e4855cb5
|