id package desc
1 anova.test ANOVA Test for binary and multiclass ...
2 auc AUC filter for binary classification ...
3 carscore care CAR scores
4 cforest.importance party Permutation importance of random fore...
5 chi.squared FSelector Chi-squared statistic of independence...
6 gain.ratio FSelector Entropy-based gain ratio between feat...
7 information.gain FSelector Entropy-based information gain betwee...
8 kruskal.test Kruskal Test for binary and multiclas...
9 linear.correlation Pearson correlation between feature a...
10 mrmr mRMRe Minimum redundancy, maximum relevance...
11 oneR FSelector oneR association rule
12 permutation.importance Aggregated difference between feature...
13 randomForest.importance randomForest Importance based on OOB-accuracy or n...
14 randomForestSRC.rfsrc randomForestSRC Importance of random forests fitted i...
15 randomForestSRC.var.select randomForestSRC Minimal depth of / variable hunting v...
16 ranger.impurity ranger Variable importance based on ranger i...
17 ranger.permutation ranger Variable importance based on ranger p...
18 rank.correlation Spearman's correlation between featur...
19 relief FSelector RELIEF algorithm
20 symmetrical.uncertainty FSelector Entropy-based symmetrical uncertainty...
21 univariate.model.score Resamples an mlr learner for each inp...
22 variance A simple variance filter
the output does not contain these filter methods. Consequently when I try to run
makeFilterWrapper with paraznik filter methods it does not work:
Error in makeFilterWrapper(lrn, fw.method = "praznik_MRMR") :
Assertion on 'fw.method' failed: Must be element of set {'anova.test','auc','carscore','cforest.importance','chi.squared','gain.ratio','information.gain','kruskal.test','linear.correlation','mrmr','oneR','permutation.importance','randomForest.importance','randomForestSRC.rfsrc','randomForestSRC.var.select','ranger.impurity','ranger.permutation','rank.correlation','relief','rf.importance','rf.min.depth','symmetrical.uncertainty','univariate','univariate.model.score','variance'}, but is 'praznik_MRMR'.
however when calling resample on such a wrapper an error is generated:
Assertion on 'method' failed: Must be element of set {'anova.test','auc','carscore','cforest.importance','chi.squared','gain.ratio','information.gain','kruskal.test','linear.correlation','mrmr','oneR','permutation.importance','randomForest.importance','randomForestSRC.rfsrc','randomForestSRC.var.select','ranger.impurity','ranger.permutation','rank.correlation','relief','rf.importance','rf.min.depth','symmetrical.uncertainty','univariate','univariate.model.score','variance'}, but is 'praznik_MRMR'.
This problem is resolved after installation of the mlr master on github. I suppose praznik filter methods were implemented after the latest CRAN version. It's nice to know tutorials are up to date.
Thank you for all your hard work,
mlr
is a wonderful package.The page at https://mlr.mlr-org.com/articles/tutorial/filter_methods.html#current-methods which I trust is current lists several filter methods from the package
praznik
as available.However when I run:
listFilterMethods(tasks = TRUE)
the output does not contain these filter methods. Consequently when I try to run
makeFilterWrapper
withparaznik
filter methods it does not work:Are
praznik
filter methods available inmlr
2.13?Thank you
When I just copy:
from
mlr
github into my session the code works:however when calling
resample
on such a wrapper an error is generated:Assertion on 'method' failed: Must be element of set {'anova.test','auc','carscore','cforest.importance','chi.squared','gain.ratio','information.gain','kruskal.test','linear.correlation','mrmr','oneR','permutation.importance','randomForest.importance','randomForestSRC.rfsrc','randomForestSRC.var.select','ranger.impurity','ranger.permutation','rank.correlation','relief','rf.importance','rf.min.depth','symmetrical.uncertainty','univariate','univariate.model.score','variance'}, but is 'praznik_MRMR'.