docstr: Evaluation log hook class
docstr_tok: ["Evaluation","log","hook","class"]
code: def __init__(
      self,
      estimator,
      logger,
      true_df,
      y_col,
      eval_df,
      every_n_iter=10000,
      model_dir=None,
      batch_size=256,
      eval_fns=None,
      **eval_kwargs,
  ):
      """Evaluation log hook class"""
      self.model = estimator
      self.logger = logger
      self.true_df = true_df
      self.y_col = y_col
      self.eval_df = eval_df
      self.every_n_iter = every_n_iter
      self.model_dir = model_dir
      self.batch_size = batch_size
      self.eval_fns = eval_fns
      self.eval_kwargs = eval_kwargs
  
      self.summary_writer = None
      self.global_step_tensor = None
      self.step = 0
  
imports: import itertools
  import numpy
  import tensorflow
  from tensorflow_estimator.python.estimator.export.export import build_supervised_input_receiver_fn_from_input_fn
label_desc: Use image node_id 1 to create a new _TrainLogHook object from inherited base classes: tf.estimator with example: obj = _TrainLogHook(estimator, logger, true_df, y_col, eval_df, every_n_iter, model_dir, batch_size, eval_fns)