public final class GenericPMMLModel extends PMMLModel
PMMLModel.MiningFunction| Constructor and Description |
|---|
GenericPMMLModel(Document document)
Create a PMMLModel object from a document
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildModelElement(Element element)
Subclasses must implement this method to fill-in the contents
of the model element.
|
protected Element |
findModelElement(Document document)
Subclasses that require custom selection of their model element should override
this method.
|
protected String |
getModelElementName()
Return the element name of the primary model element associated with
this PMML
|
protected void |
parseModelElement(Element element)
Parse the given model element into the respective model object.
|
getAnnotationText, getModelExplanation, getModelSpec, getVersion, parse, setAnnotationText, setModelExplanation, setVersion, toPMMLpublic GenericPMMLModel(Document document)
document - the pmml documentprotected void buildModelElement(Element element)
PMMLModelbuildModelElement in class PMMLModelelement - the model elementprotected String getModelElementName()
PMMLModelgetModelElementName in class PMMLModelprotected void parseModelElement(Element element)
PMMLModelparseModelElement in class PMMLModelelement - root element of model objectprotected Element findModelElement(Document document)
PMMLModelthe model
element name. In general the default implementation is sufficient; this is
primarily intended for PMMLModels whose model element is a PMML extension.findModelElement in class PMMLModeldocument - The PMML document.Copyright © 2024 Actian Corporation. All rights reserved.