class_docstr: Abstract agent class.
class_docstr_tok: ["Abstract","agent","class","."]
docstr: Select an action for training.
  
  Returns:
      ~object: action
docstr_tok: ["Select","an","action","for","training",".","Returns",":","~object",":","action"]
code: def act_and_train(self, obs, reward):
      """Select an action for training.
  
      Returns:
          ~object: action
      """
      raise NotImplementedError()
  
imports: from abc import ABCMeta
  from abc import abstractmethod
  from abc import abstractproperty
  import os
  from chainer import serializers
  import numpy
  import warnings
label_desc: Use image node_id 1 for calling the Agent obj's underlying member method code with example usage: obj.act_and_train(obs, reward) without return types