IsotonicRegression

public final class IsotonicRegression

Solves a batch of isotonic regression problems.

Constants

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

Public Methods

static <U extends TNumber> IsotonicRegression<U>
create(Scope scope, Operand<? extends TNumber> input, Class<U> outputDtype)
Factory method to create a class wrapping a new IsotonicRegression operation.
static IsotonicRegression<TFloat32>
create(Scope scope, Operand<? extends TNumber> input)
Factory method to create a class wrapping a new IsotonicRegression operation using default output types.
Output<U>
output()
A (batch_size, dim)-tensor holding the per-batch element solutions.
Output<TInt32>
segments()
An int32 (batch_size, dim)-tensor with the segments.

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "IsotonicRegression"

Public Methods

public static IsotonicRegression<U> create (Scope scope, Operand<? extends TNumber> input, Class<U> outputDtype)

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

Parameters
scope current scope
input A (batch_size, dim)-tensor holding a batch of inputs.
outputDtype Dtype of output.
Returns
  • a new instance of IsotonicRegression

public static IsotonicRegression<TFloat32> create (Scope scope, Operand<? extends TNumber> input)

Factory method to create a class wrapping a new IsotonicRegression operation using default output types.

Parameters
scope current scope
input A (batch_size, dim)-tensor holding a batch of inputs.
Returns
  • a new instance of IsotonicRegression

public Output<U> output ()

A (batch_size, dim)-tensor holding the per-batch element solutions.

public Output<TInt32> segments ()

An int32 (batch_size, dim)-tensor with the segments.