使用 mlr 2.12.1 进行交互分析
只需在http://mlr-org.github.io/exploring-learner-predictions-with-partial-dependence/上运行示例代码
但返回错误如下:
lrn.regr = makeLearner("regr.ksvm")
fit.regr = train(lrn.regr, bh.task)
fa = generateFunctionalANOVAData(fit.regr, bh.task, "lstat", depth = 1, fun = median)
有错误
Error in generateFunctionalANOVAData(fit.regr, bh.task, "lstat", depth = 1, : could not find function "generateFunctionalANOVAData"
毫升版本:
[1] ‘2.12.1’