Only column names are supported for
xgb.DMatrix, thus setting of
row names would have no effect and returned row names would be NULL.
1 2 3 4 5
object of class
a list of two elements: the first one is ignored and the second one is column names
dimnames methods are used by
Since row names are irrelevant, it is recommended to use
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.