tf.raw_ops.BoostedTreesSparseAggregateStats
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Aggregates the summary of accumulated stats for the batch.
tf.raw_ops.BoostedTreesSparseAggregateStats(
    node_ids,
    gradients,
    hessians,
    feature_indices,
    feature_values,
    feature_shape,
    max_splits,
    num_buckets,
    name=None
)
The summary stats contains gradients and hessians accumulated for each node, bucket and dimension id.
| Args | 
|---|
| node_ids | A Tensorof typeint32.
int32; Rank 1 Tensor containing node ids for each example, shape [batch_size]. | 
| gradients | A Tensorof typefloat32.
float32; Rank 2 Tensor (shape=[batch_size, logits_dimension]) with gradients for each example. | 
| hessians | A Tensorof typefloat32.
float32; Rank 2 Tensor (shape=[batch_size, hessian_dimension]) with hessians for each example. | 
| feature_indices | A Tensorof typeint32.
int32; Rank 2 indices of feature sparse Tensors (shape=[number of sparse entries, 2]).
Number of sparse entries across all instances from the batch. The first value is
the index of the instance, the second is dimension of the feature. The second axis
can only have 2 values, i.e., the input dense version of Tensor can only be matrix. | 
| feature_values | A Tensorof typeint32.
int32; Rank 1 values of feature sparse Tensors (shape=[number of sparse entries]).
Number of sparse entries across all instances from the batch. The first value is
the index of the instance, the second is dimension of the feature. | 
| feature_shape | A Tensorof typeint32.
int32; Rank 1 dense shape of feature sparse Tensors (shape=[2]).
The first axis can only have 2 values, [batch_size, feature_dimension]. | 
| max_splits | An intthat is>= 1.
int; the maximum number of splits possible in the whole tree. | 
| num_buckets | An intthat is>= 1.
int; equals to the maximum possible value of bucketized feature + 1. | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A tuple of Tensorobjects (stats_summary_indices, stats_summary_values, stats_summary_shape). | 
| stats_summary_indices | A Tensorof typeint32. | 
| stats_summary_values | A Tensorof typefloat32. | 
| stats_summary_shape | A Tensorof typeint32. | 
  
  
 
  
    
    
      
       
    
    
  
  
  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 2023-03-27 UTC.
  
  
  
    
      [null,null,["Last updated 2023-03-27 UTC."],[],[]]