Julia Programming Language
What is the equivalent of numpy.random.choice for generating a non-uniform random sample based on a user supplied probability?
General Usage
question
nilshg
February 11, 2020, 10:38am
2
You might be looking for
StatsBase.sample
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Sampling from a list of integers without repetition
New to Julia
3
6805
June 15, 2020
Random sampling with rand(Uniform(0,1), n)
New to Julia
question
,
random
,
sampling
4
413
May 30, 2024
Basic question about Distributions, drawing random sample and related documentaion
New to Julia
question
2
1167
January 19, 2020
Sample without replacement.. and without StatsBase or shuffle
General Usage
12
320
May 3, 2024
How do I create an array with random unique numbers in a specific range?
New to Julia
question
,
random
20
1190
June 24, 2024