Questions tagged [pmml]

The Predictive Model Markup Language aka `PMML` is an `XML`-based markup language developed by the Data Mining Group (DMG) to provide a way for applications to define models related to predictive analytics and data mining and to share those models between `PMML`-compliant applications.

The Predictive Model Markup Language aka PMML is an XML-based markup language developed by the Data Mining Group (DMG) to provide a way for applications to define models related to predictive analytics and data mining and to share those models between PMML-compliant applications.

PMML provides applications a vendor-independent method of defining models so that proprietary issues and incompatibilities are no longer a barrier to the exchange of models between applications. It allows users to develop models within one vendor's application and use other vendors' applications to visualize, analyze, evaluate or otherwise use the models. Previously, this was very difficult, but with PMML, the exchange of models between compliant applications is straightforward.

Since PMML is an XML-based standard, the specification comes in the form of an XML schema.

Although PMML is the first and still most widely-used standard for machine learning and regression models, the DMG more recently created a JSON-based standard, Portable Format for Analytics (PFA) which includes more flexibility for pre- and post-processing by abstracting general math operations as PFA documents.

References:

PMML: An Open Standard for Sharing Models in The R Journal, Vol. 1/1, May 2009

PMML standard v4.3 at dmg.org

298 questions
0
votes
1 answer

Error when trying to export randomForest model to PMML

I'm receiving an error when trying to export one of my 'regression' randomForest models to PMML. The code I'm using to generate the model looks something like this: model <- foreach(ntree = rep(100, 10), .combine = combine, .multicombine=TRUE,…
herrherr
  • 708
  • 1
  • 9
  • 26
0
votes
1 answer

How to make a PMML persistent model using openscoring?

I am using openscoring web service to score PMML models. However, I am not getting how to store those model. I am using this curl -X PUT --data-binary @DecisionTreeIris.pmml -H "Content-type: text/xml"…
Heisenberg
  • 1,500
  • 3
  • 18
  • 35
0
votes
1 answer

R randomForest to PMML class index is wrong

I'm exporting an R randomForest model to PMML. The resulting PMML always has the class as the first element of the DataDictionary element, which is not always true. Is there some way to fix this or at least increment the PMML with custom Extension…
halfwarp
  • 1,780
  • 5
  • 24
  • 41
0
votes
1 answer

How do I perform koyck lag transformations in PMML?

I'm using PMML to transfer my models (that I develop in R) between different platforms. One issue I often face is that given input data I need to do a lot of pre-processing. Most times this is rather straightforward in PMML but I cannot figure out…
Dr. Mike
  • 2,451
  • 4
  • 24
  • 36
0
votes
1 answer

Failed to execute Augustus PMML Gaslog Example. Need help to debug

I ran command testing the Gaslog example of Augutus: Augustus consumer_config.xcfg But got following error: Traceback (most recent call last): File "/usr/local/bin/Augustus", line 171, in main(config) File…
codersofthedark
  • 9,183
  • 8
  • 45
  • 70
-1
votes
1 answer

Can we parse a decision tree pmml file in Netlogo using python extension or any other extension?

Im trying to run a Netlogo model where turtle behavior is dependent on the probabilities from a ML model like Decision tree. This rule set is supplied in the form of a PMML file. Is there a way to do this using python extension ? Update Im now able…
KaM
  • 13
  • 3
-1
votes
1 answer

How to add additional information in PMML other than related to model?

Just a simple question, I'm stuck at a scenario where I want to pass multiple information other than the pipeline itself inside a PMML file. Other information like: Average of all columns in dataset avg(col1), ... abg(coln) P values of all…
Aayush Shah
  • 381
  • 2
  • 11
-1
votes
1 answer

How to evaluate the PMML file using python

I have pmml file generated by python having random forest classifier, I need to test the model again in python. Kindly let me know how to import the pmml file back to python so that I can test the model using new dataset. I have tried using titanium…
jay
  • 13
  • 1
  • 5
-1
votes
1 answer

How to import a random forest model from R into Android Studio?

So I have trained a random forest model in R which I have converted into a pmml file. But how do you import the pmml file into Android Studio and use it for predictions? I have a hard time finding examples of this online. The model is very simple…
-2
votes
1 answer

Exporting sklearn random forest Python model to Android

Can you use a Python trained model sklearn (random forest) in Android (Java). I need to use it to predict values in real time and a server isn't an option here.
-2
votes
1 answer

What can I do with a PMML document?

Basic question: I know that models created in R and SAS can be saved as PMML. But what is the next step? For example, are there Java and Python libraries that automatically execute regressions stored as PMML, where you just pass in a PMML file for…
user1956609
  • 2,132
  • 5
  • 27
  • 43
-3
votes
1 answer

Doesn't work scorecards when it create in Business Central?

I think you have an error during auto-generation cod Scorecards in Business Central. 08:26:42,584 INFO [org.kie.workbench.common.screens.datasource.management.backend.DataSourceManagementBootstrap] (pool-25-thread-1) Initialize deployments task…
-4
votes
2 answers

How to perform a non linear regression for my data

I have set of Temperature and Discomfort index value for each temperature data. When I plot a graph between temperature(x axis) and Calculated Discomfort index value( y axis) I get a reversed U-shape curve. I want to do non linear regression out of…
Arul
  • 349
  • 2
  • 4
  • 10
1 2 3
19
20