powered by
plot_pd(pd, facet = NULL)
c("pd", "data.frame")
partial_dependence
library(randomForest) library(edarf) data(iris) fit <- randomForest(Species ~ ., iris) pd <- partial_dependence(fit, "Petal.Width", data = iris) plot_pd(pd)
Run the code above in your browser using DataLab