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

Description Usage Arguments Value

View source: R/hdrda.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_hdrda(obj, lambda = 1, gamma = 0)

Arguments

obj

a hdrda object

lambda

a numeric value between 0 and 1, inclusively

gamma

a numeric value (nonnegative)

Value

a hdrda object with updated estimates


ramhiser/sparsediscrim documentation built on May 26, 2019, 10:14 p.m.