R/tool_interface.R
create_example_func.RdThe 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: 0x55a7fcc59848>
#> <environment: 0x55a7fcc55fb8>