Handbook
Glossary
stratified-sample ( stratified-sequences probability-sequence -- elt )
Vocabulary
machine-learning
.
rebalancing
Inputs
stratified-sequences
an
object
probability-sequence
an
object
Outputs
elt
an
object
Definition
USING:
kernel
random
sequences
;
IN:
machine-learning.rebalancing
:
stratified-sample
( stratified-sequences probability-sequence -- elt )
probabilities-quot
call
swap
nth
random
;
inline