guilgautier / DPPy

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

May I inquire about the output indexes of the DPP, whether it starts from 0 or 1? #73

Closed 2019zhou closed 1 week ago

2019zhou commented 5 months ago

I have just start to use this library. And I am confused about this.

guilgautier commented 1 week ago

Hi @2019zhou, With Python indices start from 0. The kernel you have used might be associated to a very low inclusion probability P[0 \in X] = K_00 In this case, 0 won't appears that often in your samples.