dcase_util.datasets.Dataset.validation_files_random

Dataset.validation_files_random(fold=None, training_meta=None, validation_amount=0.3, seed=0, verbose=False, **kwargs)[source]

List of validation files selected randomly from the training material.

Parameters
foldint

Fold id, if None all meta data is returned. Default value None

training_metaMetaDataContainer

Training data meta container. Use this instead of fold parameter, if additional processing is needed for training meta before usage. Default value None

validation_amountfloat

Amount of training material to be assigned for validation. Default value 0.3

seedint

Randomization seed Default value 0

verbosebool

Show information about the validation set. Default value False

Returns
list of str

List containing all files assigned for validation