def __init__(self, baselines, scope='aggregated-baseline', summary_labels=()):
        """
        Aggregated baseline.

        Args:
            baselines: Dict of per-state baseline specification dicts
        """

        self.baselines = dict()
        for name in sorted(baselines):
            self.baselines[name] = Baseline.from_spec(
                spec=baselines[name],
                kwargs=dict(summary_labels=summary_labels))

        self.linear = Linear(size=1, bias=0.0, scope='prediction', summary_labels=summary_labels)

        super(AggregatedBaseline, self).__init__(scope, summary_labels)
def __init__ ( self , baselines , scope = 'aggregated-baseline' , summary_labels = ( ) ) : self . baselines = dict ( ) for name in sorted ( baselines ) : self . baselines [ name ] = Baseline . from_spec ( spec = baselines [ name ] , kwargs = dict ( summary_labels = summary_labels ) ) self . linear = Linear ( size = 1 , bias = 0.0 , scope = 'prediction' , summary_labels = summary_labels ) super ( AggregatedBaseline , self ) . __init__ ( scope , summary_labels )
Aggregated baseline.

        Args:
            baselines: Dict of per-state baseline specification dicts