Implement JSON IO for updaters (#5094)
* Implement JSON IO for updaters. * Remove parameters in split evaluator.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <xgboost/tree_model.h>
|
||||
#include <xgboost/generic_parameters.h>
|
||||
#include <xgboost/host_device_vector.h>
|
||||
#include <xgboost/model.h>
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
@@ -24,7 +25,7 @@ namespace xgboost {
|
||||
/*!
|
||||
* \brief interface of tree update module, that performs update of a tree.
|
||||
*/
|
||||
class TreeUpdater {
|
||||
class TreeUpdater : public Configurable {
|
||||
protected:
|
||||
GenericParameter const* tparam_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user