src.inout.pipeline_io

Classes

PipelineIO()

class src.inout.pipeline_io.PipelineIO
Author:

Alberto M. Esmoris Pena

Class with util static methods for input/output operations related to pipelines.

static read_predictive_pipeline(path, new_nn_path=None)

Read a predictive pipeline file.

Parameters:
  • path (str) – Path to the pipeline file.

  • new_nn_path (str or None) – Path to the serialized neural network when loading predictive pipelines with deep learning models. It can be None, in which case the nn_path attribute of the serialized Architecture will be considered.

Returns:

The read predictive pipeline.

Return type:

src.pipeline.predictive_pipeline.PredictivePipeline

static write_predictive_pipeline(predictive_pipeline, path)

Write a predictive pipeline to a file.

Parameters:
  • predictive_pipeline (PredictivePipeline) – The predictive pipeline to be written.

  • path (str) – Path where the pipeline file must be written.

Returns:

Nothing.