tf.contrib.learn.TensorFlowRNNClassifier.evaluate()

tf.contrib.learn.TensorFlowRNNClassifier.evaluate(x=None, y=None, input_fn=None, feed_fn=None, batch_size=None, steps=None, metrics=None, name=None)

Evaluates given model with provided evaluation data.

See superclass Estimator for more details.

Args:
  • x: features.
  • y: targets.
  • input_fn: Input function.
  • feed_fn: Function creating a feed dict every time it is called.
  • batch_size: minibatch size to use on the input.
  • steps: Number of steps for which to evaluate model.
  • metrics: Dict of metric ops to run. If None, the default metrics are used.
  • name: Name of the evaluation.
Returns:

Returns dict with evaluation results.

doc_TensorFlow
2016-10-14 13:06:59
Comments
Leave a Comment

Please login to continue.