Created
May 28, 2020 15:09
-
-
Save manstis/51995fb2fbb9032334bebeb981da9791 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "PMML", | |
"attributes": { | |
"xmlns": "http://www.dmg.org/PMML-4_4", | |
"xmlns:cheese": "http://cheese.org", | |
"version": "4.4" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "Header", | |
"attributes": { | |
"copyright": "DMG.org" | |
} | |
}, | |
{ | |
"type": "element", | |
"name": "DataDictionary", | |
"attributes": { | |
"numberOfFields": "2" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "DataField", | |
"attributes": { | |
"name": "age", | |
"optype": "continuous", | |
"dataType": "double" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "Interval", | |
"attributes": { | |
"closure": "closedClosed", | |
"leftMargin": "0", | |
"rightMargin": "100" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "element", | |
"name": "DataField", | |
"attributes": { | |
"name": "weight", | |
"optype": "continuous", | |
"dataType": "double" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "Interval", | |
"attributes": { | |
"closure": "closedClosed", | |
"leftMargin": "0", | |
"rightMargin": "200" | |
} | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "element", | |
"name": "RegressionModel", | |
"attributes": { | |
"modelName": "You get fatter as you get older", | |
"functionName": "regression", | |
"algorithmName": "linearRegression", | |
"targetFieldName": "height_of_tide" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "MiningSchema", | |
"attributes": { | |
"cheese:withExtraFlavour": "edam" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "MiningField", | |
"attributes": { | |
"name": "age" | |
} | |
}, | |
{ | |
"type": "element", | |
"name": "MiningField", | |
"attributes": { | |
"name": "weight", | |
"usageType": "target" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "element", | |
"name": "RegressionTable", | |
"attributes": { | |
"intercept": "2" | |
}, | |
"elements": [ | |
{ | |
"type": "element", | |
"name": "NumericPredictor", | |
"attributes": { | |
"name": "age", | |
"exponent": "1", | |
"coefficient": "1.6" | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment