lambda-ml.core
random-partition
(random-partition n coll)Returns n partitions of elements randomly selected from coll.
sample-with-replacement
(sample-with-replacement coll n)(sample-with-replacement coll n s)Returns n randomly selected elements, with replacement, from coll.
sample-without-replacement
(sample-without-replacement coll n)(sample-without-replacement coll n s)Returns n randomly selected elements, without replacement, from coll.