Convert R Models to PMML


[Up] [Top]

Documentation for package ‘r2pmml’ version 0.27.1

Help Pages

as.fmap Dispatches execution to the most appropriate XGBoost feature map generation function.
as.fmap.data.frame Generates an XGBoost feature map based on feature data.
as.fmap.matrix Generates an XGBoost feature map based on feature data.
as.scorecard Converts a "glm" object to a "scorecard" object.
decorate Dispatches execution to the most appropriate model decoration function.
decorate.default Decorates a model object with "preProcess" and "pmml_options" elements.
decorate.earth Decorates an "earth" object with an "xlevels" element.
decorate.elm Decorates an "elm" object with a "model" element.
decorate.glmnet Decorates a "glmnet" object with a "lambda.s" element.
decorate.party Decorates a "party" object with a "predicted" element.
decorate.randomForest Decorates a "randomForest" object with PMML conversion options.
decorate.ranger Decorates a "ranger" object with a "variable.levels" element.
decorate.svm.formula Decorates a "svm.formula" object with an "xlevels" element.
decorate.train Decorates the final model of a "train" object with model type-dependent elements.
decorate.WrappedModel Decorates a "WrappedModel" object with "invert_levels" element. Additionally, decorates the learned model with model type-dependent elements.
decorate.xgb.Booster Decorates an "xgb.Booster" object with "fmap", "schema", "ntreelimit" and "pmml_options" elements.
r2pmml Converts an R model object to PMML.
verify Dispatches execution to the most appropriate model verification function.
verify.default Enhances a model object with verification data.
verify.glm Enhances a "glm" object with verification data.
verify.train Enhances a "train" object with verification data.
verify.xgb.Booster Enhances an "xgb.Booster" object with verification data.
write.fmap Writes XGBoost feature map to a file.