Hold settings and results for multinomial classification data preparation.
MultinomialOutcomeTreatment(
...,
var_list,
outcome_name,
cols_to_copy = NULL,
params = NULL,
imputation_map = NULL
)
not used, force arguments to be specified by name.
Names of columns to treat (effective variables).
Name of column holding outcome variable. dframe[[outcomename]]
must be only finite non-missing values.
list of extra columns to copy.
parameters list from multinomial_parameters
map from column names to functions of signature f(values: numeric, weights: numeric), simple missing value imputers.
Please see
https://github.com/WinVector/vtreat/blob/main/Examples/fit_transform/fit_transform_api.md,
mkCrossFrameMExperiment
and
prepare.multinomial_plan
for details.
Note: there currently is no designTreatmentsM
,
so MultinomialOutcomeTreatment$fit()
is implemented in terms
of MultinomialOutcomeTreatment$fit_transform()