Modifier and Type | Class and Description |
---|---|
static class |
PMMLSupportVectorMachineModel.SvmRepresentation
Corresponds to the PMML
SVM-REPRESENTATION enumeration. |
PMMLModel.MiningFunction
Constructor and Description |
---|
PMMLSupportVectorMachineModel(Document document)
Create a PMMLSupportVectorMachineModel, initialized to the contents of the given PMML document.
|
PMMLSupportVectorMachineModel(PMMLModelSpec modelSpec)
Create a PMMLSupportVectorMachineModel for the given spec.
|
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.
|
KernelType |
getKernelType()
Returns the kernel type for the model.
|
protected String |
getModelElementName()
Return the element name of the primary model element associated with
this PMML
|
String |
getModelName()
Returns the
modelName attribute for the model. |
List<SupportVectorMachine> |
getSupportVectorMachines()
Returns the
SupportVectorMachine elements of the model. |
PMMLSupportVectorMachineModel.SvmRepresentation |
getSvmRepresentation()
Returns the
svmRepresentation attribute for the model. |
VectorDictionary |
getVectorDictionary()
Returns the
VectorDictionary element of the model. |
protected void |
parseModelElement(Element element)
Parse the given model element into the respective model object.
|
void |
setKernelType(KernelType kernelType)
Sets the kernel type for the model.
|
void |
setModelName(String modelName)
Sets the
modelName attribute for the model. |
void |
setSupportVectorMachines(List<SupportVectorMachine> supportVectorMachines)
Sets the
SupportVectorMachine elements of the model. |
void |
setSvmRepresentation(PMMLSupportVectorMachineModel.SvmRepresentation svmRepresentation)
Sets the
svmRepresentation attribute for the model. |
void |
setVectorDictionary(VectorDictionary vectorDictionary)
Sets the
VectorDictionary element of the model. |
findModelElement, getAnnotationText, getModelExplanation, getModelSpec, getVersion, parse, setAnnotationText, setModelExplanation, setVersion, toPMML
public PMMLSupportVectorMachineModel(PMMLModelSpec modelSpec)
modelSpec
- The PMMLModelSpecpublic PMMLSupportVectorMachineModel(Document document)
document
- The PMML document.public final String getModelName()
modelName
attribute for the model.modelName
attribute for the model.public final void setModelName(String modelName)
modelName
attribute for the model.modelName
- the modelName
attribute for the model.public final PMMLSupportVectorMachineModel.SvmRepresentation getSvmRepresentation()
svmRepresentation
attribute for the model.svmRepresentation
attribute for the model.public final void setSvmRepresentation(PMMLSupportVectorMachineModel.SvmRepresentation svmRepresentation)
svmRepresentation
attribute for the model.svmRepresentation
- the svmRepresentation
attribute for the model.public final KernelType getKernelType()
public final void setKernelType(KernelType kernelType)
kernelType
- the kernel type for the model.public final List<SupportVectorMachine> getSupportVectorMachines()
SupportVectorMachine
elements of the model.SupportVectorMachine
elements of the model.public final void setSupportVectorMachines(List<SupportVectorMachine> supportVectorMachines)
SupportVectorMachine
elements of the model.supportVectorMachines
- the SupportVectorMachine
elements of the model.public final VectorDictionary getVectorDictionary()
VectorDictionary
element of the model.VectorDictionary
element of the model.public final void setVectorDictionary(VectorDictionary vectorDictionary)
VectorDictionary
element of the model.vectorDictionary
- the VectorDictionary
element of the model.protected void buildModelElement(Element element)
PMMLModel
buildModelElement
in class PMMLModel
element
- the model elementprotected String getModelElementName()
PMMLModel
getModelElementName
in class PMMLModel
protected void parseModelElement(Element element)
PMMLModel
parseModelElement
in class PMMLModel
element
- root element of model objectCopyright © 2020 Actian Corporation. All rights reserved.