simca_gamma: Tuning Parameters of the SIMCA Model

View source: R/parsnip_simca.R

simca_gammaR Documentation

Tuning Parameters of the SIMCA Model

Description

dials parameters for the classification rule of the simca() parsnip model (and of rsimca()):

  • simca_gamma(), for gamma, the weight of the orthogonal distances against the score distances;

  • simca_squared(), for squared, the combination of the squared scaled distances (rule R2) or of the scaled distances (rule R1).

Usage

simca_gamma(range = c(0, 1), trans = NULL)

simca_squared(values = c(TRUE, FALSE))

Arguments

range

A two-element vector with the range of gamma. Default is c(0, 1).

trans

A transformation object from the scales package, or NULL (default) for none.

values

The values of squared. Default is c(TRUE, FALSE).

Value

A quant_param object (simca_gamma()) or a qual_param object (simca_squared()).

See Also

simca(), rsimca()

Examples


simca_gamma()
dials::value_seq(simca_gamma(), 5)
simca_squared()


specProc documentation built on Nov. 20, 2026, 5:11 p.m.