tune_grid: Extract Tuning Grid

View source: R/allgeneric.R

tune_gridR Documentation

Extract Tuning Grid

Description

Returns the parameter grid used to tune a model.

Usage

tune_grid(obj, x, y, len)

Arguments

obj

The model object.

x

The training data.

y

The response vector.

len

The number of elements in the tuning grid.

Value

A data frame of tuning parameter combinations.

Examples


ds  <- gen_sample_dataset(D = c(5, 5, 5), nobs = 10)
mdl <- load_model("sda_notune")
tune_grid(mdl, ds$dataset$train_data, ds$design$y_train, len = 1)


bbuchsbaum/rMVPA documentation built on June 10, 2025, 8:23 p.m.