datadings.commands.sample module

usage: sample.py [-h] [-s {sequential,random}] infile outfile number

Extract samples from a dataset.

Positional arguments

infile Input file. outfile Output file. number Number of samples to extract.

options:
-h, --help

show this help message and exit

-s {sequential,random}, –strategy {sequential,random}

Sampling strategy to use.

datadings.commands.sample.entry()[source]
datadings.commands.sample.main()[source]
datadings.commands.sample.sample(infile, outfile, number, strategy)[source]