View source: R/entity_embedding.R
reshape_task_embedding | R Documentation |
logical
variables are treated as integers and converted to
either 0 or 1.
continuous
variables are stored in a matrix "continuous"
categorical
variables are integer encoded and stored
as a single list element each.
reshape_task_embedding(task)
task |
|
A list
with slots data
:the reshaped data and fct_levels
: the levels corresponding to each factor feature.
task = mlr3::mlr_tasks$get("boston_housing") reshape_task_embedding(task)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.