Description Usage Arguments Examples
Take the output from calculate_partial_dependency
and plot the
partial dependencies for every model.
This function returns the plot object so it can be further modified.
1 |
pd |
output from |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# Example output from calculate_partial_dependency
pd <- data.table(feature = rep("a", 9),
feature_val = rep(c(1, 3.5, 6), 3),
model = rep(c("model1",
"model2",
"ensemble"),
each = 3),
prediction = c(c(-2.5, 0, 2.5),
c(0, 0, 0),
c(-2.5, -0.75, 0)))
plot_partial_dependency(pd)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.