public final class
BoostedTreesQuantileStreamResourceFlush
Flush the summaries for a quantile stream resource.
An op that flushes the summaries for a quantile stream resource.
Nested Classes
class | BoostedTreesQuantileStreamResourceFlush.Options | Optional attributes for BoostedTreesQuantileStreamResourceFlush
|
Public Methods
static BoostedTreesQuantileStreamResourceFlush |
create(Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Long> numBuckets, Options... options)
Factory method to create a class wrapping a new BoostedTreesQuantileStreamResourceFlush operation.
|
static BoostedTreesQuantileStreamResourceFlush.Options |
generateQuantiles(Boolean generateQuantiles)
|
Inherited Methods
Public Methods
public static BoostedTreesQuantileStreamResourceFlush create (Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Long> numBuckets, Options... options)
Factory method to create a class wrapping a new BoostedTreesQuantileStreamResourceFlush operation.
Parameters
scope | current scope |
---|---|
quantileStreamResourceHandle | resource handle referring to a QuantileStreamResource. |
numBuckets | int; approximate number of buckets unless using generate_quantiles. |
options | carries optional attributes values |
Returns
- a new instance of BoostedTreesQuantileStreamResourceFlush
public static BoostedTreesQuantileStreamResourceFlush.Options generateQuantiles (Boolean generateQuantiles)
Parameters
generateQuantiles | bool; If True, the output will be the num_quantiles for each stream where the ith entry is the ith quantile of the input with an approximation error of epsilon. Duplicate values may be present. If False, the output will be the points in the histogram that we got which roughly translates to 1/epsilon boundaries and without any duplicates. Default to False. |
---|