xgboost
Classes | Public Member Functions | List of all members
xgboost::common::ColumnMatrix Class Reference

a collection of columns, with support for construction from GHistIndexMatrix. More...

#include <column_matrix.h>

Collaboration diagram for xgboost::common::ColumnMatrix:
Collaboration graph

Public Member Functions

bst_uint GetNumFeature () const
 
void Init (const GHistIndexMatrix &gmat, double sparse_threshold)
 
Column GetColumn (unsigned fid) const
 

Detailed Description

a collection of columns, with support for construction from GHistIndexMatrix.

Member Function Documentation

◆ GetColumn()

Column xgboost::common::ColumnMatrix::GetColumn ( unsigned  fid) const
inline

◆ GetNumFeature()

bst_uint xgboost::common::ColumnMatrix::GetNumFeature ( ) const
inline

◆ Init()

void xgboost::common::ColumnMatrix::Init ( const GHistIndexMatrix gmat,
double  sparse_threshold 
)
inline

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