william kossack
william kossack

Reputation: 1

function_to_pmml not a complete pmml

I have a model that will be used in java. I would like to reduce the amount of development time by exporting functions written in R to pmml.

as an experiment I tried function_to_pmml which creates an incomplete pmml lacking headers

a normal pmml file includes headers etc like

the java developers can not use the output from "function_to_pmml("1 + 3/5 - (4 * 2)")"

how do I get a complete pmml? I was thinking I might be able to do something like add_attributes but not found an example of this working

Upvotes: 0

Views: 59

Answers (1)

user1808924
user1808924

Reputation: 4926

You can export (in formula-) R expressions to PMML using the R2PMML package.

Upvotes: 0

Related Questions