paradance.pipeline.BasePipeline

class paradance.pipeline.BasePipeline(dataframe: DataFrame | None = None, config_path: str | None = None, n_trials: int = 200)[source]

Abstract base class for implementing processing pipelines.

This class provides a structured way to define a sequence of operations for data processing and optimization tasks. It is designed to be subclassed with specific implementations of the abstract methods provided.

config

Configuration settings loaded from a configuration file.

Type:

Dict

n_trials

The number of optimization trials to perform.

Type:

int

__init__(dataframe: DataFrame | None = None, config_path: str | None = None, n_trials: int = 200) None[source]

Methods

__init__([dataframe, config_path, n_trials])

run()

Run the main execution flow of the pipeline.

show_results()

Displays the results of the optimization process.

abstract show_results() None[source]

Displays the results of the optimization process.

run() None[source]

Run the main execution flow of the pipeline.

This method handles the entire flow of running the optimization after performing all pre-run setup tasks. It concludes with displaying the results.