View source: R/entity_embedding.R
make_embedding | R Documentation |
Creates an input for each categorical var, concatenates those, Adds batch-norm to continuous vars etc.
make_embedding(task, embed_size = NULL, embed_dropout = 0)
task |
|
embed_size |
|
embed_dropout |
|
A list
of input tensors and layer
: the concatenated embeddings.
Guo, Berkhan, 2016 Entity Embeddings of Categorical Variables
task = mlr3::mlr_tasks$get("boston_housing") make_embedding(task)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.