* 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>
15 lines
317 B
C++
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
|