Learn R Programming

rtemis (version 1.4.3)

setup_Nystrom: Setup NystromConfig

Description

Setup the Nystrom approximation for setup_SpectralRBF or setup_SpectralLaplace. Passing one turns the approximation on; its sample says how many cases it samples.

Usage

setup_Nystrom(sample = NULL)

Value

NystromConfig object.

Arguments

sample

Optional Integer [1, Inf): Number of cases the approximation samples. Must be fewer than the number of cases. Unset samples one sixth of them.

Author

EDG

Details

sample maps to kernlab::specc()'s nystrom.sample; passing the config at all sets nystrom.red = TRUE.

Examples

Run this code
setup_Nystrom(sample = 200L)

Run the code above in your browser using DataLab