reservoir-sample-iteration ( iteration k obj sampled -- sampled' )
Reservoir Sampling

Prev:reservoir-sample ( obj sampler -- )


Vocabulary
reservoir-sampling

Inputs
iterationan integer
kan integer
objan object
sampleda vector


Outputs
sampled'a vector


Word description
Sample with equal probabilty without using a reservoir-sampler object.

Definition