public class SupportVectorMachineModel extends Model implements HasExtensions
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_2}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<sequence>
<choice>
<element ref="{http://www.dmg.org/PMML-4_2}LinearKernelType"/>
<element ref="{http://www.dmg.org/PMML-4_2}PolynomialKernelType"/>
<element ref="{http://www.dmg.org/PMML-4_2}RadialBasisKernelType"/>
<element ref="{http://www.dmg.org/PMML-4_2}SigmoidKernelType"/>
</choice>
</sequence>
<element ref="{http://www.dmg.org/PMML-4_2}VectorDictionary"/>
<element ref="{http://www.dmg.org/PMML-4_2}SupportVectorMachine" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelVerification" minOccurs="0"/>
</sequence>
<attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_2}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="threshold" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="0" />
<attribute name="svmRepresentation" type="{http://www.dmg.org/PMML-4_2}SVM-REPRESENTATION" default="SupportVectors" />
<attribute name="alternateBinaryTargetCategory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="classificationMethod" type="{http://www.dmg.org/PMML-4_2}SVM-CLASSIFICATION-METHOD" default="OneAgainstAll" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SupportVectorMachineModel() |
SupportVectorMachineModel(MiningFunctionType functionName,
MiningSchema miningSchema,
VectorDictionary vectorDictionary,
List<SupportVectorMachine> supportVectorMachines) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
SupportVectorMachineModel |
addExtensions(Extension... extensions) |
SupportVectorMachineModel |
addSupportVectorMachines(SupportVectorMachine... supportVectorMachines) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
String |
getAlternateBinaryTargetCategory()
Gets the value of the alternateBinaryTargetCategory property.
|
SvmClassificationMethodType |
getClassificationMethod()
Gets the value of the classificationMethod property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
Kernel |
getKernel()
Gets the value of the kernel property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
Output |
getOutput()
Gets the value of the output property.
|
List<SupportVectorMachine> |
getSupportVectorMachines()
Gets the value of the supportVectorMachines property.
|
SvmRepresentationType |
getSvmRepresentation()
Gets the value of the svmRepresentation property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
Double |
getThreshold()
Gets the value of the threshold property.
|
VectorDictionary |
getVectorDictionary()
Gets the value of the vectorDictionary property.
|
boolean |
hasExtensions() |
boolean |
hasSupportVectorMachines() |
boolean |
isScorable()
Gets the value of the scorable property.
|
SupportVectorMachineModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
SupportVectorMachineModel |
setAlternateBinaryTargetCategory(String alternateBinaryTargetCategory)
Sets the value of the alternateBinaryTargetCategory property.
|
SupportVectorMachineModel |
setClassificationMethod(SvmClassificationMethodType classificationMethod)
Sets the value of the classificationMethod property.
|
SupportVectorMachineModel |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
SupportVectorMachineModel |
setKernel(Kernel kernel)
Sets the value of the kernel property.
|
SupportVectorMachineModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
SupportVectorMachineModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
SupportVectorMachineModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
SupportVectorMachineModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
SupportVectorMachineModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
SupportVectorMachineModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
SupportVectorMachineModel |
setOutput(Output output)
Sets the value of the output property.
|
SupportVectorMachineModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
SupportVectorMachineModel |
setSvmRepresentation(SvmRepresentationType svmRepresentation)
Sets the value of the svmRepresentation property.
|
SupportVectorMachineModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
SupportVectorMachineModel |
setThreshold(Double threshold)
Sets the value of the threshold property.
|
SupportVectorMachineModel |
setVectorDictionary(VectorDictionary vectorDictionary)
Sets the value of the vectorDictionary property.
|
getLocator, setLocatorpublic SupportVectorMachineModel()
public SupportVectorMachineModel(MiningFunctionType functionName, MiningSchema miningSchema, VectorDictionary vectorDictionary, List<SupportVectorMachine> supportVectorMachines)
public String getModelName()
getModelName in class ModelStringpublic SupportVectorMachineModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic SupportVectorMachineModel setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic SupportVectorMachineModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic Double getThreshold()
Doublepublic SupportVectorMachineModel setThreshold(Double threshold)
threshold - allowed object is
Doublepublic SvmRepresentationType getSvmRepresentation()
SvmRepresentationTypepublic SupportVectorMachineModel setSvmRepresentation(SvmRepresentationType svmRepresentation)
svmRepresentation - allowed object is
SvmRepresentationTypepublic String getAlternateBinaryTargetCategory()
Stringpublic SupportVectorMachineModel setAlternateBinaryTargetCategory(String alternateBinaryTargetCategory)
alternateBinaryTargetCategory - allowed object is
Stringpublic SvmClassificationMethodType getClassificationMethod()
SvmClassificationMethodTypepublic SupportVectorMachineModel setClassificationMethod(SvmClassificationMethodType classificationMethod)
classificationMethod - allowed object is
SvmClassificationMethodTypepublic boolean isScorable()
isScorable in class ModelBooleanpublic SupportVectorMachineModel setScorable(Boolean scorable)
setScorable in class Modelscorable - allowed object is
Booleanpublic List<Extension> getExtensions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic SupportVectorMachineModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public SupportVectorMachineModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic SupportVectorMachineModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic SupportVectorMachineModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic SupportVectorMachineModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic SupportVectorMachineModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic Kernel getKernel()
LinearKernel
PolynomialKernel
RadialBasisKernel
SigmoidKernelpublic SupportVectorMachineModel setKernel(Kernel kernel)
kernel - allowed object is
LinearKernel
PolynomialKernel
RadialBasisKernel
SigmoidKernelpublic VectorDictionary getVectorDictionary()
VectorDictionarypublic SupportVectorMachineModel setVectorDictionary(VectorDictionary vectorDictionary)
vectorDictionary - allowed object is
VectorDictionarypublic List<SupportVectorMachine> getSupportVectorMachines()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the supportVectorMachines property.
For example, to add a new item, do as follows:
getSupportVectorMachines().add(newItem);
Objects of the following type(s) are allowed in the list
SupportVectorMachine
public ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic SupportVectorMachineModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic SupportVectorMachineModel addExtensions(Extension... extensions)
public boolean hasSupportVectorMachines()
public SupportVectorMachineModel addSupportVectorMachines(SupportVectorMachine... supportVectorMachines)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.