Issue warning when requesting bivariate plotting (#3516)
This commit is contained in:
parent
8a5209c55e
commit
b5fad42da2
@ -212,6 +212,7 @@ xgb.plot.shap <- function(data, shap_contrib = NULL, features = NULL, top_n = 1,
|
||||
}
|
||||
if (plot && which == "2d") {
|
||||
# TODO
|
||||
warning("Bivariate plotting is currently not available.")
|
||||
}
|
||||
invisible(list(data = data, shap_contrib = shap_contrib))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user