reservoir-sampling vocabulary
Factor handbook ยป Vocabulary index


Documentation
Reservoir Sampling

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
reservoir-sampler tupleiteration k sampled


Ordinary words
WordStack effect
<reservoir-sampler>( k -- sampler )
reservoir-sample( obj sampler -- )
reservoir-sample-iteration( iteration k obj sampled -- sampled' )


Class predicate words
WordStack effect
reservoir-sampler?( object -- ? )


Files


Metadata files