From 32b89c36e17abcf541f06a99aaba5c336dad1258 Mon Sep 17 00:00:00 2001 From: Aurelien Geron Date: Tue, 21 Aug 2018 10:23:50 +0200 Subject: Add more doc for the dict returned by an estimator's evaluate() method --- tensorflow/docs_src/guide/premade_estimators.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tensorflow/docs_src') diff --git a/tensorflow/docs_src/guide/premade_estimators.md b/tensorflow/docs_src/guide/premade_estimators.md index a1703058c3..9b64d51b98 100644 --- a/tensorflow/docs_src/guide/premade_estimators.md +++ b/tensorflow/docs_src/guide/premade_estimators.md @@ -366,6 +366,8 @@ Running this code yields the following output (or something similar): Test set accuracy: 0.967 ``` +The `eval_result` dictionary also contains the `average_loss` (mean loss per sample), the `loss` (mean loss per mini-batch) and the value of the estimator's `global_step` (the number of training iterations it underwent). + ### Making predictions (inferring) from the trained model We now have a trained model that produces good evaluation results. -- cgit v1.2.3