cutoff: Cutoffs

Description Usage Arguments Details Value Author(s) Examples

Description

The algorithms select a subset from a ranked attributes.

Usage

1
2
3
cutoff.k(attrs, k)
cutoff.k.percent(attrs, k)
cutoff.biggest.diff(attrs)

Arguments

attrs

a data.frame containing ranks for attributes in the first column and their names as row names

k

a positive integer in case of cutoff.k and a numeric between 0 and 1 in case of cutoff.k.percent

Details

cutoff.k chooses k best attributes

cutoff.k.percent chooses best k * 100% of attributes

cutoff.biggest.diff chooses a subset of attributes which are significantly better than other.

Value

A character vector containing selected attributes.

Author(s)

Piotr Romanski

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17

Example output

OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed
             attr_importance
Sepal.Length       0.4521286
Sepal.Width        0.2672750
Petal.Length       0.9402853
Petal.Width        0.9554360
Species ~ Petal.Width
<environment: 0x45b6b78>
Species ~ Petal.Width + Petal.Length + Sepal.Length
<environment: 0x45d54d0>
Species ~ Petal.Width + Petal.Length
<environment: 0x45f6fd0>
Warning message:
system call failed: Cannot allocate memory 

FSelector documentation built on May 2, 2019, 4:52 p.m.