guilgautier / DPPy

Python toolbox for sampling Determinantal Point Processes
https://dppy.readthedocs.io
MIT License
219 stars 52 forks source link

How to get the figure below by using DPPy? #71

Closed c4cld closed 1 year ago

c4cld commented 1 year ago

How to get the figure below by using DPPy? 1685322420101 I aim to sample points from a two-dimensional discrete domain and display the sampling results in the pattern of the figure by using both k-dpp and independent (i.e. random sampling) methods. How can I achieve this goal using DPPy? Could you provide a demo for us to learn from? Thank you.

guilgautier commented 1 year ago

Hi @ZJP-c4cld, you'll find many code examples in the documentation. For k-DPPs see https://dppy.readthedocs.io/en/latest/finite_dpps/exact_sampling.html#k-dpps