this function takes a data table and a column and a target predictor to calculate target mean encoding.
data table, column string, target string
a data frame with resulted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.