Comments (4)
All JPMML conversion libraries (including the JPMML-H2O library) are generating PMML markup that conforms to the latest PMML schema/specification version. Currently it's PMML 4.4.
The main value of following the latest PMML schema version is that it allows me to generate a maximally concise/compact PMML markup.
You can perform the downgrade manually, by replacing all compact/concise PMML 4.4-specific fragments with more bloated PMML 4.2 one. This downgrade process has been automated for most common scenarios as a JPMML-Transformer library, but it's not publicly available.
from jpmml-h2o.
Are you interested in learning how to convert a PMML 4.4 GBM model to a PMML 4.2 GBM model manually?
For starters, replace the XML namespace declaration:
PMML 4.4:
<PMML xmlns="http://www.dmg.org/PMML-4_4" xmlns:data="http://jpmml.org/jpmml-model/InlineTable" version="4.4">
</PMML>
PMML 4.2:
<PMML xmlns="http://www.dmg.org/PMML-4_2" xmlns:data="http://jpmml.org/jpmml-model/InlineTable" version="4.2">
</PMML>
When done, try to import this fake PMML 4.2 file into your legacy software and see what happens. If there's an error, please share it with me here, and I'll advise what other PMML content tweaks might be necessary.
from jpmml-h2o.
There is an error in line 36, this is what line 36 has:
<MiningModel functionName="regression">
from jpmml-h2o.
There is an error in line 36, this is what line 36 has:
The MiningModel@functionName="regression"
attribute is perfectly valid according to PMML 4.2:
http://dmg.org/pmml/v4-2-1/MultipleModels.html
Perhaps you should open a parallel issue with your legacy software vendor, and ask for their explanation. Perhaps they don't support the MiningModel
element at all?
from jpmml-h2o.
Related Issues (15)
- openscoring can't read output .pmml HOT 1
- Score mismatch between PMML file and H2O Mojo prediction HOT 1
- Support for `quantile` distribution in GBM
- Output PMML file too big in size HOT 2
- Support of categorical variables HOT 2
- Use H2O.ai node identifiers (aka "nodeNumbers")
- Could this be used for models built with older version of H2O? HOT 6
- Throws error when I change the max_depth > 5 and ntrees = 100 for a GBM HOT 3
- Throws and error when converting a poisson GBM to PMML HOT 3
- Detect feature promotion from (high cardinality-) categorical to pseudo-numeric HOT 4
- Missing number of values in the array HOT 2
- Capturing variable importances
- release 1.0.10 is not compatible with h2o-3.28.x HOT 2
- Handling of missing values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpmml-h2o.