Package ml.dmlc.xgboost4j.java
Class ConfigContext
java.lang.Object
ml.dmlc.xgboost4j.java.ConfigContext
- All Implemented Interfaces:
AutoCloseable
Global configuration context for XGBoost.
- Version:
- 3.0.0
See the parameter document for supported global configuration. The configuration is restored upon close.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConfigContext
- Throws:
XGBoostError
-
ConfigContext
- Throws:
XGBoostError
-
-
Method Details
-
getConfig
- Throws:
XGBoostError
-
setConfig
Set one single configuration- Throws:
XGBoostError
-
setConfigs
Set a bunch of configurations- Throws:
XGBoostError
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
XGBoostError
-