INNER CODE UNIT · Python

AppContextMgr

pdpipe/pdpipe · src/pdpipe/core.py:248

class AppContextMgr:
    """Manages application context objects over a specific pipeline
    application.

    Parameters
    ----------
    stage : PdPipelineStage
        The pipeline stage being applied.
    fit : bool
        If set to True, then this AppContextMgr is being used during a
        fit-transform of a pipeline; otherwise, it is being used during a
        transform. Optional, defaults to False.

    """

    def __init__(self, stage: "PdPipelineStage", fit: Optional[bool] = False):
        self.stage = stage
        self.fit = fit

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…