parameters: (self, step_counter, is_evaluation)
return_statement: return decayed_epsilon
docstring: Returns the evaluation or decayed epsilon value.
docstring_summary: Returns the evaluation or decayed epsilon value.
docstring_tokens: Returns the evaluation or decayed epsilon value .
function: def _get_epsilon(self, step_counter, is_evaluation):
      """Returns the evaluation or decayed epsilon value."""
      if is_evaluation:
        return 0.0
      decay_steps = min(step_counter, self._epsilon_decay_duration)
      decayed_epsilon = (
          self._epsilon_end + (self._epsilon_start - self._epsilon_end) *
          (1 - decay_steps / self._epsilon_decay_duration))
      return decayed_epsilon
function_tokens: def _get_epsilon ( self , step_counter , is_evaluation ) : if is_evaluation : return 0.0 decay_steps = min ( step_counter , self . _epsilon_decay_duration ) decayed_epsilon = ( self . _epsilon_end + ( self . _epsilon_start - self . _epsilon_end ) * ( 1 - decay_steps / self . _epsilon_decay_duration ) ) return decayed_epsilon