@@ -157,7 +157,7 @@ test_that("SHAPs sum to predictions, with or without DART", {
|
||||
params = c(
|
||||
list(
|
||||
booster = booster,
|
||||
objective = "reg:linear",
|
||||
objective = "reg:squarederror",
|
||||
eval_metric = "rmse"),
|
||||
if (booster == "dart")
|
||||
list(rate_drop = .01, one_drop = T)),
|
||||
|
||||
Reference in New Issue
Block a user