search for: filetoxmlnod

Displaying 1 result from an estimated 1 matches for "filetoxmlnod".

Did you mean: filetoxmlnode
2017 Nov 15
0
How to read PMML data from a text file and convert it to a model ?
...nto a model. How can I do that ? Here is a MWE : library(pmml) mydata<- iris # Creating a model mymodel <- lm(Sepal.Length ~ Sepal.Width, data = mydata) #Computing its pmml representation and storing it to a file saveXML(pmml(mymodel),file = "myfile.xml") testingReading <- fileToXMLNode("myfile.txt") > testingReading <PMML version="4.3" xmlns="http://www.dmg.org/PMML-4_3"> <Header> <Application name="JPMML-R" version="1.2.20"/> <Timestamp>2017-11-15T10:37:29Z</Timestamp> </Header> &lt...