| as.fmap.matrix | R Documentation | 
Generates an XGBoost feature map based on feature data.
## S3 method for class 'matrix'
as.fmap(x)
| x | A "matrix" object with independent variables. | 
A "data.frame" object.
data(iris)
iris.matrix = model.matrix(Species ~ . - 1, data = iris)
iris.fmap = as.fmap(iris.matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.