cut_attrs {FSelectorRcpp} | R Documentation |
Select Attributes by Score Depending on the Cutoff
Description
Select attributes by their score/rank/weights, depending on the cutoff that may be specified by the percentage of the highest ranked attributes or by the number of the highest ranked attributes.
Usage
cut_attrs(attrs, k = 0.5)
Arguments
attrs |
A data.frame with attributes' importance. |
k |
A numeric. For |
Author(s)
Damian Skrzypiec damian.j.skrzypiec@gmail.com and Zygmunt Zawadzki zygmunt@zstat.pl
Examples
x <- information_gain(Species ~ ., iris)
cut_attrs(attrs = x)
to_formula(cut_attrs(attrs = x), "Species")
cut_attrs(attrs = x, k = 1)
[Package FSelectorRcpp version 0.3.11 Index]