Skip to contents

Converts one selected tuning row, such as a row returned by ci_select_best(), into a ci_tree_control() object. Columns that are not CI tree controls, such as grid_id, type, metrics, or ntree, are ignored.

Usage

ci_control_from_row(row, include_mtry = TRUE)

Arguments

row

A one-row data frame or data.table containing tuning control columns.

include_mtry

Logical; include mtry when present and non-missing.

Value

A normalized ci_tree_control() list.