select.top.features: Function to select top features

Description Usage Arguments Value

Description

The differences are determined by weighted means. The number of examples in which a particular feature is defined is used to estimate the means in both classes.

Usage

1
2
select.top.features(features, labels, feature.count = 10000,
  min.example.fraction = 0.01)

Arguments

features

Feature matrix

labels

Feature labels (Should be +1/-1)

feature.count

Number of features to select. Default is 10000.

min.example.fraction

Minimal fraction of examples that a feature should defined in. Default is 1%.

Value

Vector of selected feature indexes.


ManuSetty/SeqGL documentation built on March 14, 2021, 3:18 a.m.