setup_GAM: Setup GAM Hyperparameters

View source: R/070_Hyperparameters.R

setup_GAMR Documentation

Setup GAM Hyperparameters

Description

Setup hyperparameters for GAM training.

Usage

setup_GAM(k = 5L, ifw = FALSE)

Arguments

k

(Tunable) Integer [1, Inf): Number of knots.

ifw

(Tunable) Logical: If TRUE, use Inverse Frequency Weighting in classification.

Details

Get more information from mgcv::gam.

Value

GAMHyperparameters object.

Author(s)

EDG

Examples

gam_hyperparams <- setup_GAM(k = 5L, ifw = FALSE)
gam_hyperparams

rtemis documentation built on Oct. 20, 2026, 1:06 a.m.