export#

Exports the input and output batches to csv files for furthe exploration.

create_path_if_not_exist(path: str) None#

Creates a path if it does not exist.

Parameters:

path – the path to create.

export_data(data: ndarray[Any, dtype[float64]], export_path: str, file_name: str) None#

Exports the batches to an npy file for further exploration.

Parameters:
  • data – the data to export.

  • export_path – the path to export the data to.

  • file_name – the name of the file to export the data to.

export_features(features: list[str], export_path: str) None#

Exports the data’s features to a ‘features.csv’ file.

Parameters:
  • features – the data to export.

  • export_path – the path to export the data to.