class_docstr: Q-learning agent with tabular representation.
class_docstr_tok: ["Q-learning","agent","with","tabular","representation","."]
docstr: Discretize state to table row index.
docstr_tok: ["Discretize","state","to","table","row","index","."]
code: def _preprocess_state(self, state):
      """Discretize state to table row index."""
      o = self._discretize_state_if_necessary(state)
      return o
  
file_path: CNTK/bindings/python/cntk/contrib/deeprl/agent/tabular_qlearning.py
imports: import copy
  import numpy
  from .agent import AgentBaseClass
  from .shared.qlearning_parameters import QLearningParameters
label_desc: Use image node_id 12 for calling the TabularQLearning obj's underlying member method code with example usage: obj._preprocess_state(state) and returns: o