Description Usage Details See Also
Objective: given a factor level, derive an implied y-value. Utilize a 'y-aware' derivation method. Given a factor level, what does its Y vector look like? Then consider an instance of factor level j in rows 1:k. To derive an implied y-value here, don't use those instances in training. Use other available instances, in cross-validated fashion.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | derive_posteriors_p_summaries_supervised_factor(
df,
n_splits = 3,
varname_factor,
par_prior_beta,
Y,
directory_operators
)
join_posteriors_p_summaries_supervised_factor(
df,
varname_factor,
run_type,
directory_operators
)
transform_posteriors_p_summaries_supervised_factor(
df,
varname_factor,
run_type,
par_prior_beta,
Y,
directory_operators
)
|
Given a factor level (and if 'train'-type execution, data split ID), join implied-y value stored in reference operator.
Execute connected sequence for encoding factor levels using implied y values.
Feature Engineering and Selection: A Practical Approach for Predictive Models; Max Kuhn, Kjell Johnson.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.