src.inout.pipeline_io
Classes
- 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
Architecturewill be considered.
- Returns:
The read predictive pipeline.
- Return type:
- 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.