Skip to contents

Selects a subset of data points to minimize standard error using greedy optimization.

Usage

data_selection_fixed(X, data_size, log = FALSE, period = 1000)

Arguments

X

Covariate matrix (p x n)

data_size

Number of data points to select

log

Whether to print progress every 1000 iterations

period

If log = TRUE, print progress every period

Value

A vector of selected data point indices