xgboost
Public Member Functions | Public Attributes | Protected Types | List of all members
xgboost::common::HistogramCuts Class Reference

#include <hist_util.h>

Collaboration diagram for xgboost::common::HistogramCuts:
Collaboration graph

Public Member Functions

 HistogramCuts ()
 
 HistogramCuts (HistogramCuts const &that)
 
 HistogramCuts (HistogramCuts &&that) noexcept(true)
 
HistogramCutsoperator= (HistogramCuts const &that)
 
HistogramCutsoperator= (HistogramCuts &&that) noexcept(true)
 
uint32_t FeatureBins (uint32_t feature) const
 
std::vector< uint32_t > const & Ptrs () const
 
std::vector< float > const & Values () const
 
std::vector< float > const & MinValues () const
 
size_t TotalBins () const
 
BinIdx SearchBin (float value, uint32_t column_id) const
 
BinIdx SearchBin (Entry const &e) const
 

Public Attributes

HostDeviceVector< bst_floatcut_values_
 
HostDeviceVector< uint32_t > cut_ptrs_
 
HostDeviceVector< float > min_vals_
 

Protected Types

using BinIdx = uint32_t
 

Member Typedef Documentation

◆ BinIdx

using xgboost::common::HistogramCuts::BinIdx = uint32_t
protected

Constructor & Destructor Documentation

◆ HistogramCuts() [1/3]

xgboost::common::HistogramCuts::HistogramCuts ( )

◆ HistogramCuts() [2/3]

xgboost::common::HistogramCuts::HistogramCuts ( HistogramCuts const &  that)
inline

◆ HistogramCuts() [3/3]

xgboost::common::HistogramCuts::HistogramCuts ( HistogramCuts &&  that)
inlinenoexcept

Member Function Documentation

◆ FeatureBins()

uint32_t xgboost::common::HistogramCuts::FeatureBins ( uint32_t  feature) const
inline

◆ MinValues()

std::vector<float> const& xgboost::common::HistogramCuts::MinValues ( ) const
inline

◆ operator=() [1/2]

HistogramCuts& xgboost::common::HistogramCuts::operator= ( HistogramCuts const &  that)
inline

◆ operator=() [2/2]

HistogramCuts& xgboost::common::HistogramCuts::operator= ( HistogramCuts &&  that)
inlinenoexcept

◆ Ptrs()

std::vector<uint32_t> const& xgboost::common::HistogramCuts::Ptrs ( ) const
inline

◆ SearchBin() [1/2]

BinIdx xgboost::common::HistogramCuts::SearchBin ( float  value,
uint32_t  column_id 
) const
inline

◆ SearchBin() [2/2]

BinIdx xgboost::common::HistogramCuts::SearchBin ( Entry const &  e) const
inline

◆ TotalBins()

size_t xgboost::common::HistogramCuts::TotalBins ( ) const
inline

◆ Values()

std::vector<float> const& xgboost::common::HistogramCuts::Values ( ) const
inline

Member Data Documentation

◆ cut_ptrs_

HostDeviceVector<uint32_t> xgboost::common::HistogramCuts::cut_ptrs_

◆ cut_values_

HostDeviceVector<bst_float> xgboost::common::HistogramCuts::cut_values_

◆ min_vals_

HostDeviceVector<float> xgboost::common::HistogramCuts::min_vals_

The documentation for this class was generated from the following file: