DF_dataFs {Dforest} | R Documentation |
Decision Forest algorithm: Feature Selection in pre-processing
Description
Decision Forest algorithm: feature selection for two-class predictions, kept statistical significant features pass the t-test
Usage
DF_dataFs(X, Y, p_val = 0.05)
Arguments
X |
Training Dataset |
Y |
Training Labels |
p_val |
Correlation Coefficient threshold to filter out high correlated features; default is 0.95 |
Value
Keep_feat: qualified features in data matrix after filtering
Examples
##data(iris)
X = iris[iris[,5]!="setosa",1:4]
Y = iris[iris[,5]!="setosa",5]
used_feat = DF_dataFs(X, Y)
[Package Dforest version 0.4.2 Index]