Just trying to understand the target encoding map and apply features in R html doc, mapping <- h2o.target_encode_create(data = train, x = list(c("job"), c("job", "marital")), y = "age")
In the above mapping, why is job given separately as part of the list? Is it some sort of interaction variables, why did we miss marital as a separate feature? can we give n number of categorical variables as part of the list or creating separate mapping for each categorical variable is recommended?