Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sample one point from distribution python

numpy.random.choice(numpy.arange(1, 7), p=[0.1, 0.05, 0.05, 0.2, 0.4, 0.2])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sample #point #distribution #python
ADD COMMENT
Topic
Name
5+5 =