Feature Target Encoding for classification.
Currently only support two class classification and simple target encoding based on empirical means.
Current developments: * Two-level hierarchical bayesian model encoding for hierarchical categories.
First create a data preparation map with function target_encode_create
, with your train data only.
Then apply your preparation map to your different samples:
noise_level
, ignore the data of the entry the target encoding is applied to with holdout_type = "leave_one_out"
, press the target encoding towards the whole sample mean using prior_sample_size
(useful again for small categories).holdout_type = "none"
and noise_level = 0
(default values)Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.