R/tool_interface.R
create_example_func.Rd
The create_example_func
function creates an example for the
create_usrtool
function.
create_example_func()
A function as an example for create_usrtool
create_usrtool
requires the same format.
create_testset
for testset
.
## Create a function
func <- create_example_func()
func
#> function (single_testset)
#> {
#> scores <- single_testset$get_scores()
#> list(x = seq(0, 1, 1/length(scores)), y = seq(0, 1, 1/length(scores)),
#> auc = 0.5)
#> }
#> <bytecode: 0x555a0bbb6530>
#> <environment: 0x555a0bbb5ce0>