(self)
Return the mean ± std performance of all existed states.

        Only available when the performance of each state is a single float value.

        Returns
        -------
        mean: float
            Mean performance of the existing states.

        std: float
            Std performance of the existing states.
Return the mean ± std performance of all existed states.
Return the mean ± std performance of all existed states .
def get_current_performance(self):
        """Return the mean ± std performance of all existed states.

        Only available when the performance of each state is a single float value.

        Returns
        -------
        mean: float
            Mean performance of the existing states.

        std: float
            Std performance of the existing states.
        """
        if len(self) == 0:
            return 0, 0
        else:
            tmp = [self[i].get_value('performance') for i in range(self.__len__())]
            if isinstance(tmp[0], collections.Iterable):
                return np.NaN, np.NaN
            else:
                return np.mean(tmp), np.std(tmp)
def get_current_performance ( self ) : if len ( self ) == 0 : return 0 , 0 else : tmp = [ self [ i ] . get_value ( 'performance' ) for i in range ( self . __len__ ( ) ) ] if isinstance ( tmp [ 0 ] , collections . Iterable ) : return np . NaN , np . NaN else : return np . mean ( tmp ) , np . std ( tmp )