Learn R Programming

rtemis (version 1.4.3)

setup_GAM: Setup GAM Hyperparameters

Description

Setup hyperparameters for GAM training.

Usage

setup_GAM(k = 5L, ifw = FALSE)

Value

GAMHyperparameters object.

Arguments

k

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

ifw

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

Author

EDG

Details

Get more information from mgcv::gam.

Examples

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

Run the code above in your browser using DataLab