(self)
return self._summary_buf
if self.validation_strategy:
            validation_summary = self.validation_strategy.summary()
            if validation_summary:
                self._summary_buf["validation_metrics"] = validation_summary
if self.validation_strategy:
            validation_summary = self.validation_strategy.summary()
            if validation_summary:
                self._summary_buf["validation_metrics"] = validation_summary
if self . validation_strategy : validation_summary = self . validation_strategy . summary () if validation_summary : self . _summary_buf [ validation_metrics ] = validation_summary
def _get_model_summary(self):
        # self._summary_buf["best_iteration"] = -1 if self.validation_strategy is None else self.validation_strategy.best_iteration
        self._summary_buf["history_loss"] = self.history_loss
        if self.callback_variables.validation_summary:
            self._summary_buf["validation_metrics"] = self.callback_variables.validation_summary
        """
        if self.validation_strategy:
            validation_summary = self.validation_strategy.summary()
            if validation_summary:
                self._summary_buf["validation_metrics"] = validation_summary
        """

        return self._summary_buf
def _get_model_summary ( self ) : # self._summary_buf["best_iteration"] = -1 if self.validation_strategy is None else self.validation_strategy.best_iteration self . _summary_buf [ "history_loss" ] = self . history_loss if self . callback_variables . validation_summary : self . _summary_buf [ "validation_metrics" ] = self . callback_variables . validation_summary return self . _summary_buf