diff options
author | Aurelien Geron <aurelien.geron@gmail.com> | 2018-08-21 10:23:50 +0200 |
---|---|---|
committer | Aurelien Geron <aurelien.geron@gmail.com> | 2018-08-21 10:23:50 +0200 |
commit | 32b89c36e17abcf541f06a99aaba5c336dad1258 (patch) | |
tree | 69690ccf3a44574245ad8a39fafd0ecf7424a93d /tensorflow/docs_src | |
parent | eaef34c40f2acba3e47b3d630325633a5391d36a (diff) |
Add more doc for the dict returned by an estimator's evaluate() method
Diffstat (limited to 'tensorflow/docs_src')
-rw-r--r-- | tensorflow/docs_src/guide/premade_estimators.md | 2 |
1 files changed, 2 insertions, 0 deletions
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. |