public class ConfigContext extends Object implements AutoCloseable
请参阅参数文档以了解支持的全局配置。配置将在关闭时恢复。
| 构造器和说明 | 
|---|
| ConfigContext() | 
| ConfigContext(Map<String,Object> params) | 
public ConfigContext()
              throws XGBoostError
XGBoostErrorpublic ConfigContext(Map<String,Object> params) throws XGBoostError
XGBoostErrorpublic Object getConfig(String name) throws XGBoostError
XGBoostErrorpublic void setConfig(String key, Object value) throws XGBoostError
XGBoostErrorpublic void setConfigs(Map<String,Object> configs) throws XGBoostError
XGBoostErrorpublic void close()
           throws XGBoostError
close AutoCloseableXGBoostError版权所有 © 2025. 保留所有权利。