PMML features and attributes
Using external models with Vertica gives an overview of the features Vertica supports for working with external models. This topic provides additional details on limitations in how Vertica supports working with PMML models.
In order to be supported by Vertica, PMML models:
-
Must not contain a data preprocessing step.
-
Must encode only these model types: k-means, linear regression, logistic regression, random forest (classifier and regressor), XGBoost (classifier and regressor), GeneralRegressionModel, and TreeModel.
Supported PMML tags and attributes
The following table lists supported PMML tags and their attributes.
XML-tag name | Ignored attributes | Supported attributes | Unsupported attributes | Ignored sub-tags | Supported sub-tags | Unsupported sub-tags |
---|---|---|---|---|---|---|
Categories | - |
|
- | - | Category | Extension |
Category | - | value (required) | - | - | - | Extension |
CategoricalPredictor | - |
|
- | - | - | Extension |
Cluster | size |
|
- |
|
NUM-ARRAY |
|
ClusteringField | - |
|
|
- | - |
|
ClusteringModel | modelName |
|
- | ModelVerification |
|
|
ComparisonMeasure |
|
|
- | - |
|
|
CompoundPredicate | - | booleanOperator (required) | - | - | Extension | |
CovariateList | - | - | - | - | Predictor | Extension |
DataDictionary | - | numberOfFields | - | - | DataField |
|
DataField | displayName |
|
|
- | Value |
|
FactorList | - | - | - | - | Predictor | Extension |
False | - | - | - | - | - | Extension |
GeneralRegressionModel |
|
|
|
|
|
|
Header |
|
- | - |
|
- | - |
MiningField |
|
|
|
- | - | Extension |
MiningModel |
|
|
- | ModelVerification | ||
MiningSchema | - | - | - | - | MiningField | Extension |
Node | - |
|
- | - | ||
NumericPredictor | - |
|
- | - | - | Extension |
Output | - | - | - | - | OutputField | Extension |
OutputField |
|
|
|
- | - |
|
Parameter | - |
|
referencePoint | - | - | Extension |
ParameterList | - | - | - | - | Parameter | Extension |
ParamMatrix | - | - | - | - | PCell | Extension |
PCell | - |
|
- | - | - | Extension |
PPCell | - |
|
- | - | - | Extension |
PPMatrix | - | - | - | - | PPCell | Extension |
PMML | - |
|
- | MiningBuildTask |
|
|
Predictor | - |
|
- | - | Extension | |
RegressionModel |
|
|
- | ModelVerification |
|
|
RegressionTable | - |
|
- | - |
|
|
Segment | - |
|
|
- | ||
Segmentation |
|
multipleModelMethod (required) | - | - | Segment | Extension |
SimplePredicate | - |
|
- | - | - | Extension |
SimpleSetPredicate | - |
|
- | - | ARRAY | Extension |
Target | - |
|
|
- | - | |
Targets | - | - | - | - | Target | Extension |
TreeModel |
|
|
- | ModelVerification | ||
True | - | - | - | - | - | Extension |
ScoreDistribution | - |
|
- | - | - | Extension |
Value | displayValue |
|
- | - | - | Extension |