cut_attrs | R Documentation |
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.
cut_attrs(attrs, k = 0.5)
attrs |
A data.frame with attributes' importance. |
k |
A numeric. For |
Damian Skrzypiec damian.j.skrzypiec@gmail.com and Zygmunt Zawadzki zygmunt@zstat.pl
x <- information_gain(Species ~ ., iris)
cut_attrs(attrs = x)
to_formula(cut_attrs(attrs = x), "Species")
cut_attrs(attrs = x, k = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.