softqlearning/softqlearning/algorithms/sql.py
def log_diagnostics(self, batch):
        """Record diagnostic information.

        Records the mean and standard deviation of Q-function and the
        squared Bellman residual of the  s (mean squared Bellman error)
        for a sample batch.

        Also call the `draw` method of the plotter, if plotter is defined.
        """

        feeds = self._get_feed_dict(batch)
        qf, bellman_residual = self._sess.run(
            [self._q_values, self._bellman_residual], feeds)

        logger.record_tabular('qf-avg', np.mean(qf))
        logger.record_tabular('qf-std', np.std(qf))
        logger.record_tabular('mean-sq-bellman-error', bellman_residual)

        self.policy.log_diagnostics(batch)
        if self.plotter:
            self.plotter.draw()
Record diagnostic information.

        Records the mean and standard deviation of Q-function and the
        squared Bellman residual of the  s (mean squared Bellman error)
        for a sample batch.

        Also call the `draw` method of the plotter, if plotter is defined.
        
Record diagnostic information.
Records the mean and standard deviation of Q-function and the
squared Bellman residual of the  s (mean squared Bellman error)
for a sample batch.

Also call the `draw` method of the plotter, if plotter is defined.
Record diagnostic information . Records the mean and standard deviation of Q - function and the squared Bellman residual of the s ( mean squared Bellman error ) for a sample batch . Also call the ` draw ` method of the plotter if plotter is defined .
def log_diagnostics(self, batch):
        feeds = self._get_feed_dict(batch)
        qf, bellman_residual = self._sess.run(
            [self._q_values, self._bellman_residual], feeds)
        logger.record_tabular('qf-avg', np.mean(qf))
        logger.record_tabular('qf-std', np.std(qf))
        logger.record_tabular('mean-sq-bellman-error', bellman_residual)
        self.policy.log_diagnostics(batch)
        if self.plotter:
            self.plotter.draw()
def log_diagnostics ( self , batch ) : feeds = self . _get_feed_dict ( batch ) qf , bellman_residual = self . _sess . run ( [ self . _q_values , self . _bellman_residual ] , feeds ) logger . record_tabular ( 'qf-avg' , np . mean ( qf ) ) logger . record_tabular ( 'qf-std' , np . std ( qf ) ) logger . record_tabular ( 'mean-sq-bellman-error' , bellman_residual ) self . policy . log_diagnostics ( batch ) if self . plotter : self . plotter . draw ( )
Record diagnostic information.
Record diagnostic information .
"""Record diagnostic information.

        Records the mean and standard deviation of Q-function and the
        squared Bellman residual of the  s (mean squared Bellman error)
        for a sample batch.

        Also call the `draw` method of the plotter, if plotter is defined.
        """
self
batch