as.fmap.matrix {r2pmml} | R Documentation |
Generates an XGBoost feature map based on feature data.
Description
Generates an XGBoost feature map based on feature data.
Usage
## S3 method for class 'matrix'
as.fmap(x)
Arguments
x |
A "matrix" object with independent variables. |
Value
A "data.frame" object.
Examples
data(iris)
iris.matrix = model.matrix(Species ~ . - 1, data = iris)
iris.fmap = as.fmap(iris.matrix)
[Package r2pmml version 0.28.0 Index]