alshedivat / DeterminantalPointProcesses.jl

Determinantal Point Processes in Julia
Other
12 stars 4 forks source link

Inexisting documentation #6

Open sergevicente opened 5 years ago

sergevicente commented 5 years ago

How to use the package for exact sampling from DPP? There is no documentation about the function and arguments to use. I think it's the function rand, but this function has 172 methods in my Julia version. How to choose the appropriate method? What are the arguments of the function to use? Thank you!

theogf commented 4 years ago

To sample from a DPP you call rand(dpp,n) where n is the number of samples desired and it will return an array of array of indices.

sergevicente commented 4 years ago

Ok thank you !

Serge Vicente

Le mar. 18 févr. 2020 à 05:17, Théo Galy-Fajou notifications@github.com a écrit :

To sample from a DPP you call rand(dpp,n) where n is the number of samples desired and it will return an array of array of indices.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alshedivat/DeterminantalPointProcesses.jl/issues/6?email_source=notifications&email_token=AJLIVMEE7AGKDBH52NG3SFLRDOYUPA5CNFSM4ISPTQP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMBMRBY#issuecomment-587384967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLIVMCQAZOFMCQO2OZMFPLRDOYUPANCNFSM4ISPTQPQ .