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_input_batches(data: ndarray[Any, dtype[float64]], export_path: str, input_features: list[str]) None#

Exports the input batches to csv files.

Parameters:
  • data – the input batches.

  • export_path – the path to export the input batches to.

  • input_features – the input features.

export_output_batches(data: ndarray[Any, dtype[float64]], export_path: str, output_features: list[str], model_name: str) None#

Exports the output batches to csv files.

Parameters:
  • data – prediction and y_true batches.

  • export_path – the path to export the output batches to.

  • output_features – the output features.

  • model_name – the name of the model for export purposes.