diff options
author | Yan Facai (颜发才) <facai.yan@gmail.com> | 2018-09-18 13:06:51 +0800 |
---|---|---|
committer | Yan Facai (颜发才) <facai.yan@gmail.com> | 2018-09-18 13:06:51 +0800 |
commit | cc3a7a847f0c73ae3de99f6b56ef02f56644ea67 (patch) | |
tree | 0eb675d7d4a6bfd1d757a2c3b1807a287d6ffed4 /tensorflow/python/estimator | |
parent | 9fcf40afede43c09243d06ba420ac44249067872 (diff) |
CLN: minor changes
Diffstat (limited to 'tensorflow/python/estimator')
-rw-r--r-- | tensorflow/python/estimator/canned/boosted_trees.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/estimator/canned/boosted_trees.py b/tensorflow/python/estimator/canned/boosted_trees.py index 7c04ff7970..f2e7b37f7f 100644 --- a/tensorflow/python/estimator/canned/boosted_trees.py +++ b/tensorflow/python/estimator/canned/boosted_trees.py @@ -1084,7 +1084,8 @@ class _BoostedTrees(estimator.Estimator): Raises: ValueError: When attempting to normalize on an empty ensemble - or an ensemble of trees which have no splits. + or an ensemble of trees which have no splits. Or when attempting + to normalize and feature importances have negative values. """ reader = checkpoint_utils.load_checkpoint(self._model_dir) serialized = reader.get_tensor('boosted_trees:0_serialized') |