@Danilo_Acimovic wrote:
Hi,
I’m not able to generate Samples from Multinominal distribution:
Example:
- double[] weights = { 0.2, 0.2, 0.2, 0.2, 0.2 };
- Multinomial multinomial = new Multinomial(weights, 1);
var samples = multinominal.Samples().ToList(); // stackoverflow exceptionAny help with this?
Thanks, in advance!
Posts: 1
Participants: 1