Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer committed Feb 4, 2025
1 parent df25eab commit fc90fcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/worker.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ learner_train = function(learner, task, train_row_ids = NULL, test_row_ids = NUL
model = marshal_model(model, inplace = TRUE)
}

learner$state$model = model

# Extract internal valid scores and tuned values if applicable.
internal_valid_scores = if (!is.null(get0("validate", learner)) &&
exists(".extract_internal_valid_scores", get_private(learner))) {
Expand Down

0 comments on commit fc90fcc

Please sign in to comment.