make_param_set {counterfactuals} | R Documentation |
Creates a ParamSet for the features of a data.table.
Description
Creates a ParamSet for the columns of dt
. Depending on the class of a column, a different
Domain is created:
-
double
:p_dbl()
-
integer
:p_int()
-
character
:p_fct()
(with unique values as levels) -
factor
:p_fct()
(with factor levels as levels)
Usage
make_param_set(dt, lower = NULL, upper = NULL)
Arguments
dt |
( |
lower |
(numeric() | NULL) |
upper |
(numeric() | NULL) |
Value
A ParamSet for the features of dt
.