tf.raw_ops.BoostedTreesCenterBias
Calculates the prior from the training data (the bias) and fills in the first node with the logits' prior. Returns a boolean indicating whether to continue centering.
tf.raw_ops.BoostedTreesCenterBias(
tree_ensemble_handle, mean_gradients, mean_hessians, l1, l2, name=None
)
Args |
tree_ensemble_handle
|
A Tensor of type resource .
Handle to the tree ensemble.
|
mean_gradients
|
A Tensor of type float32 .
A tensor with shape=[logits_dimension] with mean of gradients for a first node.
|
mean_hessians
|
A Tensor of type float32 .
A tensor with shape=[logits_dimension] mean of hessians for a first node.
|
l1
|
A Tensor of type float32 .
l1 regularization factor on leaf weights, per instance based.
|
l2
|
A Tensor of type float32 .
l2 regularization factor on leaf weights, per instance based.
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type bool .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[]]