From f2a19a06ee95dc2145fe3502146812366c16c1a3 Mon Sep 17 00:00:00 2001
From: pat-s A bar plot of importance values for the individual features can be obtained using function By default According to the
## 7 Petal.Length numeric FSelector_chi.squared 0.9346311
## 8 Petal.Width numeric FSelector_chi.squared 0.9432359
plotFilterValues()
.plotFilterValues()
will create facetted subplots if multiple filter methods are passed as input to generateFilterValuesData()
."information.gain"
measure, Petal.Width
and Petal.Length
contain the most information about the target variable Species
.
praznik_mrmr
also supports regr
and surv
tasksgetFilterValuesData()
now returns a tbl
instead of a data.frame
. (@pat-s, #2456)plotFilterValues()
got a bit “smarter” and easier now regarding the ordering of multiple facets. (@pat-s, #2456)filterFeatures()
, generateFilterValuesData()
and makeFilterWrapper()
gained new examples. (@pat-s, #2456)See a
mergeSmallFactorLevels
,
normalizeFeatures
,
removeConstantFeatures
,
- summarizeColumns
summarizeColumns
,
+ summarizeLevels
mergeSmallFactorLevels
,
normalizeFeatures
,
removeConstantFeatures
,
- summarizeColumns
+ summarizeColumns
,
+ summarizeLevels
diff --git a/docs/reference/dropFeatures.html b/docs/reference/dropFeatures.html
index 5146e8a057..d449260f8f 100644
--- a/docs/reference/dropFeatures.html
+++ b/docs/reference/dropFeatures.html
@@ -334,7 +334,8 @@ mergeSmallFactorLevels
,
normalizeFeatures
,
removeConstantFeatures
,
- summarizeColumns
+ summarizeColumns
,
+ summarizeLevels
diff --git a/docs/reference/makeBaggingWrapper.html b/docs/reference/makeBaggingWrapper.html
index 4b239e3b22..abf9ca969f 100644
--- a/docs/reference/makeBaggingWrapper.html
+++ b/docs/reference/makeBaggingWrapper.html
@@ -395,6 +395,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeClassificationViaRegressionWrapper.html b/docs/reference/makeClassificationViaRegressionWrapper.html
index 9fc9d27d24..016bac3507 100644
--- a/docs/reference/makeClassificationViaRegressionWrapper.html
+++ b/docs/reference/makeClassificationViaRegressionWrapper.html
@@ -343,6 +343,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeConstantClassWrapper.html b/docs/reference/makeConstantClassWrapper.html
index 720bd882ab..9894093f0a 100644
--- a/docs/reference/makeConstantClassWrapper.html
+++ b/docs/reference/makeConstantClassWrapper.html
@@ -340,6 +340,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeCostSensClassifWrapper.html b/docs/reference/makeCostSensClassifWrapper.html
index cfac2fa514..56826f0288 100644
--- a/docs/reference/makeCostSensClassifWrapper.html
+++ b/docs/reference/makeCostSensClassifWrapper.html
@@ -348,6 +348,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeCostSensRegrWrapper.html b/docs/reference/makeCostSensRegrWrapper.html
index 0ecd6b0a94..8bba359886 100644
--- a/docs/reference/makeCostSensRegrWrapper.html
+++ b/docs/reference/makeCostSensRegrWrapper.html
@@ -342,6 +342,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeDownsampleWrapper.html b/docs/reference/makeDownsampleWrapper.html
index 6ee5287432..16d191836e 100644
--- a/docs/reference/makeDownsampleWrapper.html
+++ b/docs/reference/makeDownsampleWrapper.html
@@ -350,6 +350,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeDummyFeaturesWrapper.html b/docs/reference/makeDummyFeaturesWrapper.html
index 3d295821eb..9723798ab1 100644
--- a/docs/reference/makeDummyFeaturesWrapper.html
+++ b/docs/reference/makeDummyFeaturesWrapper.html
@@ -348,6 +348,7 @@ makeDownsampleWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeExtractFDAFeatsWrapper.html b/docs/reference/makeExtractFDAFeatsWrapper.html
index 48b59ea3df..c52205f8a5 100644
--- a/docs/reference/makeExtractFDAFeatsWrapper.html
+++ b/docs/reference/makeExtractFDAFeatsWrapper.html
@@ -351,6 +351,7 @@ makeDownsampleWrapper
,
makeDummyFeaturesWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeFeatSelWrapper.html b/docs/reference/makeFeatSelWrapper.html
index 17f2cb3a35..a0745516cb 100644
--- a/docs/reference/makeFeatSelWrapper.html
+++ b/docs/reference/makeFeatSelWrapper.html
@@ -394,6 +394,7 @@ makeDownsampleWrapper
,
makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeFilterWrapper.html b/docs/reference/makeFilterWrapper.html
index 567bdef4be..c3ab2b8f34 100644
--- a/docs/reference/makeFilterWrapper.html
+++ b/docs/reference/makeFilterWrapper.html
@@ -32,11 +32,7 @@
+filterFeatures before every model fit." />
@@ -312,10 +308,6 @@ Fuses a base learner with a filter method. Creates a learner object, which can be used like any other learner object. Internally uses filterFeatures before every model fit.
-After training, the selected features can be retrieved with -getFilteredFeatures.
-Note that observation weights do not influence the filtering and are simply -passed down to the next learner.
makeFilterWrapper(learner, fw.method = "randomForestSRC_importance", @@ -380,6 +372,15 @@Value
+Details
+ +If
+ensemble = TRUE
, ensemble feature selection using all methods specified +infw.method
is performed. At least two methods need to be selected.After training, the selected features can be retrieved with +getFilteredFeatures.
+Note that observation weights do not influence the filtering and are simply +passed down to the next learner.
+Caching
If
cache = TRUE
, the default mlr cache directory is used @@ -398,7 +399,31 @@See a
listFilterEnsembleMethods
,listFilterMethods
,makeFilterEnsemble
, -makeFilter
,plotFilterValues
+makeFilter
,plotFilterValues
+Other wrapper:
makeBaggingWrapper
, +makeClassificationViaRegressionWrapper
, +makeConstantClassWrapper
, +makeCostSensClassifWrapper
, +makeCostSensRegrWrapper
, +makeDownsampleWrapper
, +makeDummyFeaturesWrapper
, +makeExtractFDAFeatsWrapper
, +makeFeatSelWrapper
, +makeImputeWrapper
, +makeMulticlassWrapper
, +makeMultilabelBinaryRelevanceWrapper
, +makeMultilabelClassifierChainsWrapper
, +makeMultilabelDBRWrapper
, +makeMultilabelNestedStackingWrapper
, +makeMultilabelStackingWrapper
, +makeOverBaggingWrapper
, +makePreprocWrapperCaret
, +makePreprocWrapper
, +makeRemoveConstantFeaturesWrapper
, +makeSMOTEWrapper
, +makeTuneWrapper
, +makeUndersampleWrapper
, +makeWeightedClassesWrapper
Examples
@@ -437,6 +462,8 @@Contents
makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
makeMultilabelClassifierChainsWrapper
,
diff --git a/docs/reference/makeMulticlassWrapper.html b/docs/reference/makeMulticlassWrapper.html
index 693da7e489..b6e2c28d1c 100644
--- a/docs/reference/makeMulticlassWrapper.html
+++ b/docs/reference/makeMulticlassWrapper.html
@@ -368,6 +368,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
makeMultilabelClassifierChainsWrapper
,
diff --git a/docs/reference/makeMultilabelBinaryRelevanceWrapper.html b/docs/reference/makeMultilabelBinaryRelevanceWrapper.html
index d8dedd1ca6..166fad3bf6 100644
--- a/docs/reference/makeMultilabelBinaryRelevanceWrapper.html
+++ b/docs/reference/makeMultilabelBinaryRelevanceWrapper.html
@@ -360,6 +360,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelClassifierChainsWrapper
,
diff --git a/docs/reference/makeMultilabelClassifierChainsWrapper.html b/docs/reference/makeMultilabelClassifierChainsWrapper.html
index a7aa5646d6..c6bcc0698f 100644
--- a/docs/reference/makeMultilabelClassifierChainsWrapper.html
+++ b/docs/reference/makeMultilabelClassifierChainsWrapper.html
@@ -359,6 +359,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeMultilabelDBRWrapper.html b/docs/reference/makeMultilabelDBRWrapper.html
index ff6f8137da..c1942013fe 100644
--- a/docs/reference/makeMultilabelDBRWrapper.html
+++ b/docs/reference/makeMultilabelDBRWrapper.html
@@ -352,6 +352,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeMultilabelNestedStackingWrapper.html b/docs/reference/makeMultilabelNestedStackingWrapper.html
index 32003c29b6..7b82aef1c9 100644
--- a/docs/reference/makeMultilabelNestedStackingWrapper.html
+++ b/docs/reference/makeMultilabelNestedStackingWrapper.html
@@ -367,6 +367,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeMultilabelStackingWrapper.html b/docs/reference/makeMultilabelStackingWrapper.html
index 3e3584334a..91363051c5 100644
--- a/docs/reference/makeMultilabelStackingWrapper.html
+++ b/docs/reference/makeMultilabelStackingWrapper.html
@@ -355,6 +355,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeOverBaggingWrapper.html b/docs/reference/makeOverBaggingWrapper.html
index 7a8e4079ab..dc7f09f9ed 100644
--- a/docs/reference/makeOverBaggingWrapper.html
+++ b/docs/reference/makeOverBaggingWrapper.html
@@ -391,6 +391,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makePreprocWrapper.html b/docs/reference/makePreprocWrapper.html
index 8576a72647..c9d5e7a4ff 100644
--- a/docs/reference/makePreprocWrapper.html
+++ b/docs/reference/makePreprocWrapper.html
@@ -372,6 +372,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makePreprocWrapperCaret.html b/docs/reference/makePreprocWrapperCaret.html
index efa39feff8..32ce22ad76 100644
--- a/docs/reference/makePreprocWrapperCaret.html
+++ b/docs/reference/makePreprocWrapperCaret.html
@@ -346,6 +346,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeRemoveConstantFeaturesWrapper.html b/docs/reference/makeRemoveConstantFeaturesWrapper.html
index 6c8f804d9c..92b9193f4d 100644
--- a/docs/reference/makeRemoveConstantFeaturesWrapper.html
+++ b/docs/reference/makeRemoveConstantFeaturesWrapper.html
@@ -363,6 +363,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeSMOTEWrapper.html b/docs/reference/makeSMOTEWrapper.html
index 3505b58536..d4d836a78f 100644
--- a/docs/reference/makeSMOTEWrapper.html
+++ b/docs/reference/makeSMOTEWrapper.html
@@ -375,6 +375,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeTuneWrapper.html b/docs/reference/makeTuneWrapper.html
index 047bee5cbe..c9f1c0022c 100644
--- a/docs/reference/makeTuneWrapper.html
+++ b/docs/reference/makeTuneWrapper.html
@@ -401,6 +401,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeUndersampleWrapper.html b/docs/reference/makeUndersampleWrapper.html
index aa6727ceb6..79c01777df 100644
--- a/docs/reference/makeUndersampleWrapper.html
+++ b/docs/reference/makeUndersampleWrapper.html
@@ -373,6 +373,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/makeWeightedClassesWrapper.html b/docs/reference/makeWeightedClassesWrapper.html
index 6fc87d6ab7..cb994c3ba0 100644
--- a/docs/reference/makeWeightedClassesWrapper.html
+++ b/docs/reference/makeWeightedClassesWrapper.html
@@ -385,6 +385,7 @@ makeDummyFeaturesWrapper
,
makeExtractFDAFeatsWrapper
,
makeFeatSelWrapper
,
+ makeFilterWrapper
,
makeImputeWrapper
,
makeMulticlassWrapper
,
makeMultilabelBinaryRelevanceWrapper
,
diff --git a/docs/reference/mergeSmallFactorLevels.html b/docs/reference/mergeSmallFactorLevels.html
index e9c1d61dd1..9b90a2c31c 100644
--- a/docs/reference/mergeSmallFactorLevels.html
+++ b/docs/reference/mergeSmallFactorLevels.html
@@ -350,7 +350,8 @@ dropFeatures
,
normalizeFeatures
,
removeConstantFeatures
,
- summarizeColumns
+ summarizeColumns
,
+ summarizeLevels
diff --git a/docs/reference/normalizeFeatures.html b/docs/reference/normalizeFeatures.html
index f91b6a571e..a960c454e0 100644
--- a/docs/reference/normalizeFeatures.html
+++ b/docs/reference/normalizeFeatures.html
@@ -381,7 +381,8 @@ dropFeatures
,
mergeSmallFactorLevels
,
removeConstantFeatures
,
- summarizeColumns
+ summarizeColumns
,
+ summarizeLevels
diff --git a/docs/reference/removeConstantFeatures.html b/docs/reference/removeConstantFeatures.html
index dca696dcfe..f62fc8521d 100644
--- a/docs/reference/removeConstantFeatures.html
+++ b/docs/reference/removeConstantFeatures.html
@@ -372,7 +372,8 @@ dropFeatures
,
mergeSmallFactorLevels
,
normalizeFeatures
,
- summarizeColumns
+ summarizeColumns
,
+ summarizeLevels
diff --git a/docs/reference/summarizeColumns.html b/docs/reference/summarizeColumns.html
index c513189aa1..5b051cfed4 100644
--- a/docs/reference/summarizeColumns.html
+++ b/docs/reference/summarizeColumns.html
@@ -349,7 +349,8 @@ dropFeatures
,
mergeSmallFactorLevels
,
normalizeFeatures
,
- removeConstantFeatures
+ removeConstantFeatures
,
+ summarizeLevels
(list). Named list of tables.
+Other eda_and_preprocess: capLargeValues
,
+ createDummyFeatures
,
+ dropFeatures
,
+ mergeSmallFactorLevels
,
+ normalizeFeatures
,
+ removeConstantFeatures
,
+ summarizeColumns
summarizeLevels(iris)#> $Species +#> +#> setosa versicolor virginica +#> 50 50 50 +#>