Skip to content

Commit 196b8c9

Browse files
committed
better doc for internal_valid_scores
1 parent e7c46c8 commit 196b8c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/LearnerClassifXgboost.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ LearnerClassifXgboost = R6Class("LearnerClassifXgboost",
191191
#' @field internal_valid_scores (named `list()` or `NULL`)
192192
#' The validation scores extracted from `model$evaluation_log`.
193193
#' If early stopping is activated, this contains the validation scores of the model for the optimal `nrounds`,
194-
#' otherwise the `nrounds` for the final model.
194+
#' otherwise the scores are taken from the final boosting round `nrounds`.
195195
internal_valid_scores = function() {
196196
self$state$internal_valid_scores
197197
},

man/mlr_learners_classif.xgboost.Rd

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

0 commit comments

Comments
 (0)