Description Usage Arguments Value
Because xgboost, at least the way I used it, does not work with non-numerical
data fact_to_int
converts factors to integers. This function was
more important when I thought inclusion of interactions, e.g.
hour x weekend/weekday, would help performance. It turned out not to be the
case.
1 |
dt |
a data table possibly containing factors variables |
the data table with any factors converted in integers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.