collect_in_fetch_verbose

pyrcs.utils.collect_in_fetch_verbose(data_dir, verbose)

Create a new parameter that indicates whether to print relevant information in console (used only if it is necessary to re-collect data when trying to fetch the data).

Parameters
  • data_dir (str or None) – name of a folder where the pickle file is to be saved

  • verbose (bool or int) – whether to print relevant information in console

Returns

whether to print relevant information in console when collecting data

Return type

bool or int

Example:

>>> from pyrcs.utils import collect_in_fetch_verbose

>>> collect_in_fetch_verbose(data_dir="data", verbose=True)
False