Skip to content

Commit c8274a3

Browse files
committed
Update examples
1 parent 5903974 commit c8274a3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 2.3.1
2+
Date: 2026-01-12 11:28:38 UTC
3+
SHA: 590397460c3f6d32f62f351b4a09e8e864afb68e

R/explain_xgboost.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
#' \donttest{
1818
#' library("xgboost")
1919
#' library("DALEXtra")
20-
#' library("mlr")
2120
#' # 8th column is target that has to be omitted in X data
2221
#' data <- titanic_imputed[,-8]
2322
#' y <- titanic_imputed$survived
2423
#' model <- xgboost(data, as.factor(y), nrounds = 10,
25-
#' objective = "binary:logistic")
24+
#' objective = "binary:logistic", nthreads = 1)
2625
#'
2726
#' explainer_1 <- explain_xgboost(model, data = titanic_imputed[,-8],
2827
#' titanic_imputed$survived)

man/explain_xgboost.Rd

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)