xgboost/src/global_config.cc
Philip Hyunsu Cho fb56da5e8b
Add global configuration (#6414)
* Add management functions for global configuration: XGBSetGlobalConfig(), XGBGetGlobalConfig().
* Add Python interface: set_config(), get_config(), and config_context().
* Add unit tests for Python
* Add R interface: xgb.set.config(), xgb.get.config()
* Add unit tests for R

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-12-03 00:05:18 -08:00

15 lines
317 B
C++

/*!
* Copyright 2020 by Contributors
* \file global_config.cc
* \brief Global configuration for XGBoost
* \author Hyunsu Cho
*/
#include <dmlc/thread_local.h>
#include "xgboost/global_config.h"
#include "xgboost/json.h"
namespace xgboost {
DMLC_REGISTER_PARAMETER(GlobalConfiguration);
} // namespace xgboost