mv_sis {semidist}R Documentation

Feature screening via MV Index

Description

Implement the feature screening for the classification problem via MV index.

Usage

mv_sis(X, y, d = NULL, parallel = FALSE)

Arguments

X

Data of multivariate covariates, which should be an n-by-p matrix.

y

Data of categorical response, which should be a factor of length n.

d

An integer specifying how many features should be kept after screening. Defaults to NULL. If NULL, then it will be set as [n / log(n)], where [x] denotes the integer part of x.

parallel

A boolean indicating whether to calculate parallelly via furrr::future_map. Defaults to FALSE.

Value

A list of the objects about the implemented feature screening:

Examples

X <- mtcars[, c("mpg", "disp", "hp", "drat", "wt", "qsec")]
y <- factor(mtcars[, "am"])

mv_sis(X, y, d = 4)


[Package semidist version 0.1.0 Index]