BoostedTreesCreateQuantileStreamResource

public final class BoostedTreesCreateQuantileStreamResource

Create the Resource for Quantile Streams.

Nested Classes

class BoostedTreesCreateQuantileStreamResource.Options Optional attributes for BoostedTreesCreateQuantileStreamResource  

Public Methods

static BoostedTreesCreateQuantileStreamResource
create(Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Float> epsilon, Operand<Long> numStreams, Options... options)
Factory method to create a class wrapping a new BoostedTreesCreateQuantileStreamResource operation.
static BoostedTreesCreateQuantileStreamResource.Options
maxElements(Long maxElements)

Inherited Methods

Public Methods

public static BoostedTreesCreateQuantileStreamResource create (Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Float> epsilon, Operand<Long> numStreams, Options... options)

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

Parameters
scope current scope
quantileStreamResourceHandle resource; Handle to quantile stream resource.
epsilon float; The required approximation error of the stream resource.
numStreams int; The number of streams managed by the resource that shares the same epsilon.
options carries optional attributes values
Returns
  • a new instance of BoostedTreesCreateQuantileStreamResource

public static BoostedTreesCreateQuantileStreamResource.Options maxElements (Long maxElements)

Parameters
maxElements int; The maximum number of data points that can be fed to the stream.