-
4 votesanswersviews
调整glmnet超参数并使用mlr中的嵌套交叉验证来评估性能?
我'm trying to use the R package mlr to train a glmnet model on a binary classification problem with a large dataset (about 850000 rows and about 100 features) on very modest hardware (my laptop with 4... -
1 votesanswersviews
更改颜色数据点plotLearnerPrediction(MLR包)
我用MLR包的plotLearnerPrediction函数制作了一些不错的图 . 我能够对返回的ggplot进行一些调整(参见下面的代码) . 但我不知道如何进行最后一次调整 . 也就是说,我想根据标签(示例图中的组)更改数据点的颜色 . My last plot (with black data points) Another produced plot (overlapping data p... -
1 votesanswersviews
R中二元分类的随机森林截止和精度度量
我使用mlr训练R中的随机森林分类器进行二元分类 . 我的 class 很 balancer . 0 1 0.5162791 0.4837209 我通过修改树木和mtry的数量以各种方式调整了我的各种模型 . 但我无法选择正确的准确度指标并确定截止值应该是多少 . 目前我有 tpr.test.mean fpr.test.mean fnr.test.mean fpr.te...