ToPmml: Generates a PMML representation of a model.

Description Usage Arguments Details Value Author(s) See Also

Description

Encodes a glmnet model in a string of PMML text for importing into Causata.

Usage

1
2
## S3 method for class 'GlmnetModelDefinition'
ToPmml(model.definition, variable.definition, verbose=FALSE, ...)

Arguments

model.definition

An object from GlmnetModelDefinition.

variable.definition

An object from VariableDefinition.

verbose

If TRUE then translation information is printed to the console.

...

Extra unused arguments.

Details

The PMML text string can be written to a file using the saveXML function from the XML package.

Value

Returns an object with classes from the XML package. The classes are XMLInternalElementNode, XMLInternalNode, and XMLAbstractNode.

Use print with this object to return a string of PMML text, and saveXML to write the PMML to a file.

Author(s)

David Barker, Justin Hemann <support@causata.com>

See Also

UploadModel, ModelDefinition, VariableDefinition, saveXML.


Causata documentation built on May 2, 2019, 3:26 a.m.

Related to ToPmml in Causata...