|
xgboost
|
#include <quantile.h>

Public Member Functions | |
| SketchContainerImpl (std::vector< bst_row_t > columns_size, int32_t max_bins, common::Span< FeatureType const > feature_types, bool use_group, int32_t n_threads) | |
| void | GatherSketchInfo (std::vector< typename WQSketch::SummaryContainer > const &reduced, std::vector< bst_row_t > *p_worker_segments, std::vector< bst_row_t > *p_sketches_scan, std::vector< typename WQSketch::Entry > *p_global_sketches) |
| void | AllReduce (std::vector< typename WQSketch::SummaryContainer > *p_reduced, std::vector< int32_t > *p_num_cuts) |
| void | PushRowPage (SparsePage const &page, MetaInfo const &info, Span< float const > hessian={}) |
| void | MakeCuts (HistogramCuts *cuts) |
Static Public Member Functions | |
| static bool | UseGroup (MetaInfo const &info) |
| static std::vector< bst_row_t > | CalcColumnSize (SparsePage const &page, bst_feature_t const n_columns, size_t const nthreads) |
| static std::vector< bst_feature_t > | LoadBalance (SparsePage const &page, bst_feature_t n_columns, size_t const nthreads) |
| static uint32_t | SearchGroupIndFromRow (std::vector< bst_uint > const &group_ptr, size_t const base_rowid) |
Protected Attributes | |
| std::vector< WQSketch > | sketches_ |
| std::vector< std::set< float > > | categories_ |
| const std::vector< FeatureType > | feature_types_ |
| std::vector< bst_row_t > | columns_size_ |
| int32_t | max_bins_ |
| bool | use_group_ind_ {false} |
| int32_t | n_threads_ |
| bool | has_categorical_ {false} |
| Monitor | monitor_ |
A sketch matrix storing sketches for each feature.
| xgboost::common::SketchContainerImpl< WQSketch >::SketchContainerImpl | ( | std::vector< bst_row_t > | columns_size, |
| int32_t | max_bins, | ||
| common::Span< FeatureType const > | feature_types, | ||
| bool | use_group, | ||
| int32_t | n_threads | ||
| ) |
| void xgboost::common::SketchContainerImpl< WQSketch >::AllReduce | ( | std::vector< typename WQSketch::SummaryContainer > * | p_reduced, |
| std::vector< int32_t > * | p_num_cuts | ||
| ) |
|
static |
| void xgboost::common::SketchContainerImpl< WQSketch >::GatherSketchInfo | ( | std::vector< typename WQSketch::SummaryContainer > const & | reduced, |
| std::vector< bst_row_t > * | p_worker_segments, | ||
| std::vector< bst_row_t > * | p_sketches_scan, | ||
| std::vector< typename WQSketch::Entry > * | p_global_sketches | ||
| ) |
|
static |
| void xgboost::common::SketchContainerImpl< WQSketch >::MakeCuts | ( | HistogramCuts * | cuts | ) |
| void xgboost::common::SketchContainerImpl< WQSketch >::PushRowPage | ( | SparsePage const & | page, |
| MetaInfo const & | info, | ||
| Span< float const > | hessian = {} |
||
| ) |
|
inlinestatic |
|
inlinestatic |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.17