Parameter validation (#5157)
* Unused code. * Split up old colmaker parameters from train param. * Fix dart. * Better name.
This commit is contained in:
@@ -359,9 +359,7 @@ class Dart : public GBTree {
|
||||
|
||||
void Configure(const Args& cfg) override {
|
||||
GBTree::Configure(cfg);
|
||||
if (model_.trees.size() == 0) {
|
||||
dparam_.UpdateAllowUnknown(cfg);
|
||||
}
|
||||
dparam_.UpdateAllowUnknown(cfg);
|
||||
}
|
||||
|
||||
void SaveModel(Json *p_out) const override {
|
||||
|
||||
Reference in New Issue
Block a user