k means - how to import logistic regression and kmeans pmml files into r -


i looking guidance please on importing pmml model files r. pmml predictive model markup language allows models built in 1 system deployed in another. have several models have been trained on spss , saved xml format using pmml. logistic regression , k-means models.

i have undertaken exhaustive searches r capabilities import pmml , finding there rare function here , there in packages such arules association models. r seems useful exporting, not importing, pmml files. second prize considered using python, seems same situation. (i exploring option of using java/weka there other aspects (irrelevant question) why not want go down route).

so wondering if there documentation , guidance anywhere on how build model object in r in can parse info pmml , create own custom pmml import? info need in pmml file – need provide r in right way, think.

i consider options same question in python. guidance appreciated.

"partykit" package of r has couple of implementation importing pmml file. code snippets below 1 such example.

require(partykit) ttnc_pmml <- file.path(system.file("pmml", package = "partykit"),                    "ttnc.pmml") (ttnc_quest <- pmmltreemodel(ttnc_pmml)) 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -