tf.raw_ops.BoostedTreesExampleDebugOutputs
Debugging/model interpretability outputs for each example.
tf.raw_ops.BoostedTreesExampleDebugOutputs( tree_ensemble_handle, bucketized_features, logits_dimension, name=None )
It traverses all the trees and computes debug metrics for individual examples, such as getting split feature ids and logits after each split along the decision path used to compute directional feature contributions.
Args | |
---|---|
tree_ensemble_handle | A Tensor of type resource . |
bucketized_features | A list of at least 1 Tensor objects with type int32 . A list of rank 1 Tensors containing bucket id for each feature. |
logits_dimension | An int . scalar, dimension of the logits, to be used for constructing the protos in examples_debug_outputs_serialized. |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type string . |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/BoostedTreesExampleDebugOutputs