module pipeline.utils_pipeline
Pipeline Utils.
This module contains utility functions for the Pipeline Module. In particular, this module contains functionality to validate provided attributes, update the console progress bar and print a final summary of the evaluation run.
Copyright (C) 2022 Johannes Haug.
function validate_pipeline_attrs
validate_pipeline_attrs(pipeline: 'BasePipeline')
Validates the input parameters and attributes of a pipeline obect.
Args:
pipeline
: Pipeline object.
Raises:
AttributeError
: If a crucial parameter to run the pipeline is missing or is invalid.
function update_progress_bar
update_progress_bar(pipeline: 'BasePipeline')
Updates the progress bar in the console after one training iteration.
Args:
pipeline
: Pipeline object.
function print_evaluation_summary
print_evaluation_summary(pipeline: 'BasePipeline')
Prints a summary of the given pipeline evaluation to the console.
Args:
pipeline
: Pipeline object.
This file was automatically generated via lazydocs.