Metadata-Version: 2.1
Name: coresets
Version: 0.2.0
Summary: Coreset generation for k-Means and (Bayesian) Gaussian mixture models
Home-page: https://github.com/ashtuchkin/coresets
License: BSD-3-Clause
Author: Zalán Borsos
Author-email: zalan.borsos@inf.ethz.ch
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: numpy (>=1.14,<2.0)
Requires-Dist: scikit-learn (>=1.0,<2.0)
Project-URL: Repository, https://github.com/ashtuchkin/coresets
Description-Content-Type: text/markdown

Coresets
--------
This library contains the implementation coreset generation for k-Means and (Bayesian) Gaussian mixture models.
It also offers the extended versions of the corresponding algorithms that support weighted data sets.

To get started, take a look at:
>examples/intro.ipynb

(this is a fork of https://github.com/zalanborsos/coresets, intended to fix installation issues + publish to pypi)

Setup
-------
1. Install [poetry](https://python-poetry.org/docs/).
2.
```shell
poetry build
poetry install
```

Running tests
-------------
In project root run:
```shell
poetry run pytest
```


References
---------
The implementation of the library is based on the following works:
>Bachem, O., Lucic, M., & Krause, A. (2017). Practical coreset constructions for machine learning. arXiv preprint arXiv:1703.06476.

> Bachem, O., Lucic, M., & Krause, A. (2017). Scalable and distributed clustering via lightweight coresets. arXiv preprint arXiv:1702.08248.

>Lucic, M., Faulkner, M., Krause, A., & Feldman, D. (2018). Training Gaussian Mixture Models at Scale via Coresets. Journal of Machine Learning Research, 18, Art-No.

> Borsos, Z., Bachem, O., & Krause, A. Variational Inference for DPGMM with Coresets. (2017). Advances in Approximate Bayesian Inference


Publishing a new version
------------------------
```shell
rm -rf build dist
poetry build
mv 

