Debian Codegraph @

tests/testthat/helper_model.R

raw
1 ## A special file sourced by testthat.
2
3 get_basescore <- function(model) {
4 as.numeric(
5 jsonlite::fromJSON(model$learner$learner_model_param$base_score)
6 )
7 }