(self, condition)
Reset the agent for a particular experiment condition.
        Args:
            condition: An index into hyperparams['reset_conditions'].
Reset the agent for a particular experiment condition.
        Args:
            condition: An index into hyperparams['reset_conditions'].
Reset the agent for a particular experiment condition . Args : condition : An index into hyperparams [ reset_conditions ] .
def reset(self, condition):
        """
        Reset the agent for a particular experiment condition.
        Args:
            condition: An index into hyperparams['reset_conditions'].
        """
        condition_data = self._hyperparams['reset_conditions'][condition]
        self.reset_arm(TRIAL_ARM, condition_data[TRIAL_ARM]['mode'],
                       condition_data[TRIAL_ARM]['data'])
        self.reset_arm(AUXILIARY_ARM, condition_data[AUXILIARY_ARM]['mode'],
                       condition_data[AUXILIARY_ARM]['data'])
        time.sleep(2.0)
def reset ( self , condition ) : condition_data = self . _hyperparams [ 'reset_conditions' ] [ condition ] self . reset_arm ( TRIAL_ARM , condition_data [ TRIAL_ARM ] [ 'mode' ] , condition_data [ TRIAL_ARM ] [ 'data' ] ) self . reset_arm ( AUXILIARY_ARM , condition_data [ AUXILIARY_ARM ] [ 'mode' ] , condition_data [ AUXILIARY_ARM ] [ 'data' ] ) time . sleep ( 2.0 )