tf.raw_ops.BoostedTreesBucketize
Bucketize each feature based on bucket boundaries.
tf.raw_ops.BoostedTreesBucketize( float_values, bucket_boundaries, name=None )
An op that returns a list of float tensors, where each tensor represents the bucketized values for a single feature.
Args | |
---|---|
float_values | A list of Tensor objects with type float32 . float; List of Rank 1 Tensor each containing float values for a single feature. |
bucket_boundaries | A list with the same length as float_values of Tensor objects with type float32 . float; List of Rank 1 Tensors each containing the bucket boundaries for a single feature. |
name | A name for the operation (optional). |
Returns | |
---|---|
A list with the same length as float_values of Tensor objects with type int32 . |
© 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/BoostedTreesBucketize