Skip to content

Commit

Permalink
Fix example on ranger
Browse files Browse the repository at this point in the history
  • Loading branch information
mayer79 committed Mar 25, 2024
1 parent 5a8b4b3 commit c825a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Suggests:
MASS (>= 7.3.47),
testthat
VignetteBuilder: knitr
RoxygenNote: 7.3.0
RoxygenNote: 7.3.1
URL: https://github.com/ModelOriented/randomForestExplainer, https://modeloriented.github.io/randomForestExplainer/
Config/testthat/edition: 3
Config/Needs/website: ModelOriented/DrWhyTemplate
3 changes: 2 additions & 1 deletion R/min_depth_interactions.R
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ plot_min_depth_interactions <- function(interactions_frame, k = 30,
#' @examples
#' forest <- randomForest::randomForest(Species ~., data = iris)
#' plot_predict_interaction(forest, iris, "Petal.Width", "Sepal.Width")
#' forest_ranger <- ranger::ranger(Species ~., data = iris)
#'
#' forest <- ranger::ranger(Species ~., data = iris, probability = TRUE)
#' plot_predict_interaction(forest, iris, "Petal.Width", "Sepal.Width")
#'
#' @export
Expand Down

0 comments on commit c825a21

Please sign in to comment.