18 int32_t max_bin_per_feat_;
20 double sparse_thresh_;
24 std::shared_ptr<Cache> cache,
BatchParam param,
27 std::shared_ptr<SparsePageSource> source)
29 std::isnan(param.sparse_thresh)),
30 cuts_{std::move(cuts)},
32 max_bin_per_feat_{param.max_bin},
33 feature_types_{feature_types},
34 sparse_thresh_{param.sparse_thresh} {
35 this->source_ = source;
Definition gradient_index_page_source.h:15
Definition sparse_page_source.h:375
Copyright 2014-2023, XGBoost Contributors.