lale/lib/lale/optimize_suffix.py
def add_suffix(
        self, suffix: lale.operators.TrainedOperator
    ) -> lale.operators.TrainedOperator:
        trained: lale.operators.TrainedOperator
        """Given a trained suffix, adds it to the prefix to give a trained pipeline"""
        if self._prefix is None:
            trained = suffix
        else:
            trained = self._prefix >> suffix
        assert isinstance(trained, lale.operators.TrainedOperator)
        return trained
Given a trained suffix, adds it to the prefix to give a trained pipeline
Given a trained suffix, adds it to the prefix to give a trained pipeline
Given a trained suffix adds it to the prefix to give a trained pipeline
def add_suffix(
        self, suffix: lale.operators.TrainedOperator
    ) -> lale.operators.TrainedOperator:
        trained: lale.operators.TrainedOperator
        if self._prefix is None:
            trained = suffix
        else:
            trained = self._prefix >> suffix
        assert isinstance(trained, lale.operators.TrainedOperator)
        return trained
def add_suffix ( self , suffix : lale . operators . TrainedOperator ) -> lale . operators . TrainedOperator : trained : lale . operators . TrainedOperator if self . _prefix is None : trained = suffix else : trained = self . _prefix >> suffix assert isinstance ( trained , lale . operators . TrainedOperator ) return trained
Given a trained suffix, adds it to the prefix to give a trained pipeline
Given a trained suffix adds it to the prefix to give a trained pipeline
"""Given a trained suffix, adds it to the prefix to give a trained pipeline"""
self
suffix
lale.operators.TrainedOperator