update_rda_high_dim: Helper function to update tuning parameters for the HDRDA...

Description Usage Arguments Value

View source: R/rda-high-dim.r

Description

This function updates some of the quantities in the HDRDA classifier based on updated values of lambda and gamma. The update can greatly expedite cross-validation to examine a large grid of values for lambda and gamma.

Usage

1
update_rda_high_dim(obj, lambda = 1, gamma = 0)

Arguments

obj

a rda_high_dim object

lambda

a numeric value between 0 and 1, inclusively

gamma

a numeric value (nonnegative)

Value

a rda_high_dim object with updated estimates


sparsediscrim documentation built on July 1, 2021, 9:07 a.m.