added XGDMatrixNumCol_R function
This commit is contained in:
@@ -83,10 +83,16 @@ XGB_DLL SEXP XGDMatrixGetInfo_R(SEXP handle, SEXP field);
|
||||
|
||||
/*!
|
||||
* \brief return number of rows
|
||||
* \param handle a instance of data matrix
|
||||
* \param handle an instance of data matrix
|
||||
*/
|
||||
XGB_DLL SEXP XGDMatrixNumRow_R(SEXP handle);
|
||||
|
||||
/*!
|
||||
* \brief return number of columns
|
||||
* \param handle an instance of data matrix
|
||||
*/
|
||||
XGB_DLL SEXP XGDMatrixNumCol_R(SEXP handle);
|
||||
|
||||
/*!
|
||||
* \brief create xgboost learner
|
||||
* \param dmats a list of dmatrix handles that will be cached
|
||||
|
||||
Reference in New Issue
Block a user