Have a question? Connect with the community at the TensorFlow Forum Visit Forum

BoostedTreesCenterBias

public final class 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.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output < TBool >
asOutput ()
Returns the symbolic handle of the tensor.
Output < TBool >
continueCentering ()
Bool, whether to continue bias centering.
static BoostedTreesCenterBias
create ( Scope scope, Operand <?> treeEnsembleHandle, Operand < TFloat32 > meanGradients, Operand < TFloat32 > meanHessians, Operand < TFloat32 > l1, Operand < TFloat32 > l2)
Factory method to create a class wrapping a new BoostedTreesCenterBias operation.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "BoostedTreesCenterBias"

Public Methods

public Output < TBool > asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public Output < TBool > continueCentering ()

Bool, whether to continue bias centering.

public static BoostedTreesCenterBias create ( Scope scope, Operand <?> treeEnsembleHandle, Operand < TFloat32 > meanGradients, Operand < TFloat32 > meanHessians, Operand < TFloat32 > l1, Operand < TFloat32 > l2)

Factory method to create a class wrapping a new BoostedTreesCenterBias operation.

Parameters
scope current scope
treeEnsembleHandle Handle to the tree ensemble.
meanGradients A tensor with shape=[logits_dimension] with mean of gradients for a first node.
meanHessians A tensor with shape=[logits_dimension] mean of hessians for a first node.
l1 l1 regularization factor on leaf weights, per instance based.
l2 l2 regularization factor on leaf weights, per instance based.
Returns
  • a new instance of BoostedTreesCenterBias