Can be used for categorical variables, a more efficient alternative to one-hot encoding
e(dim = 1L, weights = NULL, train = TRUE, lambda = 0, alpha = 1)
integer, embedding dimension
matrix, to use custom embedding matrices
logical, should the embeddings be trained or not
regularization strength on the embeddings
mix between L1 and L2 regularization