From 050cbdad43a5030b443b2d74c28101f0fb7cc1ca Mon Sep 17 00:00:00 2001 From: fis Date: Fri, 14 Aug 2020 14:15:21 +0800 Subject: [PATCH] Revise C doc. --- include/xgboost/c_api.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/include/xgboost/c_api.h b/include/xgboost/c_api.h index 7ca9ece06a4f..4db461d11b1c 100644 --- a/include/xgboost/c_api.h +++ b/include/xgboost/c_api.h @@ -484,9 +484,15 @@ XGB_DLL int XGDMatrixGetStrFeatureInfo(DMatrixHandle handle, const char *field, const char ***out_features); /*! - * \brief Set feature info that's not strings. Currently accepted fields are: - * - * - feature_weight + * \brief Set meta info from dense matrix. Valid field names are: + * + * - label + * - weight + * - base_margin + * - group + * - label_lower_bound + * - label_upper_bound + * - feature_weights * * \param handle An instance of data matrix * \param field Feild name