mlr3
mlr3 copied to clipboard
feat: conversion char -> measure
Oftentimes I write msr("classif.acc")
where it should be enough to just write "classif.acc"
rr = resample(tsk("iris"), lrn("classif.rpart"), rsmp("holdout"))
rr$score("classif.acc")