strict* is ``False``. By default, the `Algorithm L `__ reservoir sampling technique is used. When *weights* are provided, `Algorithm A-ExpJ `__ is used. r