Module data_processing

Source

Structs§

CachedDataset
A Dataset that uses a disk directory as its cache, useful when calls to get() are expensive. Created using Dataset::cached().
ClosureDataset
A Dataset defined in terms of a closure, which acts as a “getter”.
Contest
Represents the outcome of a contest.
ContestSummary
Compressed summary of a contest

Traits§

Dataset
Generic Dataset trait, modeled after PyTorch’s utils.data.Dataset. It represents a collection of objects indexed in the range 0..len().

Functions§

get_dataset_by_name
Helper function to get any named dataset.
get_dataset_from_codeforces_api
Helper function to get contest results from the Codeforces API.
get_dataset_from_disk
Helper function to get data that is already stored inside a disk directory.
write_slice_to_file