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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_3}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}LocalTransformations" minOccurs="0"/>
<sequence>
<choice>
<element ref="{http://www.dmg.org/PMML-4_3}LinearKernelType"/>
<element ref="{http://www.dmg.org/PMML-4_3}PolynomialKernelType"/>
<element ref="{http://www.dmg.org/PMML-4_3}RadialBasisKernelType"/>
<element ref="{http://www.dmg.org/PMML-4_3}SigmoidKernelType"/>
</choice>
</sequence>
<element ref="{http://www.dmg.org/PMML-4_3}VectorDictionary"/>
<element ref="{http://www.dmg.org/PMML-4_3}SupportVectorMachine" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}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_3}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="threshold" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" default="0" />
<attribute name="svmRepresentation" default="SupportVectors">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SupportVectors"/>
<enumeration value="Coefficients"/>
</restriction>
</simpleType>
</attribute>
<attribute name="alternateBinaryTargetCategory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="classificationMethod" default="OneAgainstAll">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="OneAgainstAll"/>
<enumeration value="OneAgainstOne"/>
</restriction>
</simpleType>
</attribute>
<attribute name="maxWins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SupportVectorMachineModel.ClassificationMethod
Java class for null.
|
static class |
SupportVectorMachineModel.Representation
Java class for null.
|
| Constructor and Description |
|---|
SupportVectorMachineModel() |
SupportVectorMachineModel(MiningFunction miningFunction,
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.
|
SupportVectorMachineModel.ClassificationMethod |
getClassificationMethod()
Gets the value of the classificationMethod property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Kernel |
getKernel()
Gets the value of the kernel property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningFunction |
getMiningFunction()
Gets the value of the miningFunction 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.
|
SupportVectorMachineModel.Representation |
getRepresentation()
Gets the value of the representation property.
|
List<SupportVectorMachine> |
getSupportVectorMachines()
Gets the value of the supportVectorMachines 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 |
isMaxWins()
Gets the value of the maxWins property.
|
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(SupportVectorMachineModel.ClassificationMethod classificationMethod)
Sets the value of the classificationMethod property.
|
SupportVectorMachineModel |
setKernel(Kernel kernel)
Sets the value of the kernel property.
|
SupportVectorMachineModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
SupportVectorMachineModel |
setMaxWins(Boolean maxWins)
Sets the value of the maxWins property.
|
SupportVectorMachineModel |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction 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 |
setRepresentation(SupportVectorMachineModel.Representation representation)
Sets the value of the representation property.
|
SupportVectorMachineModel |
setScorable(Boolean scorable)
Sets the value of the scorable 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, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic SupportVectorMachineModel()
public SupportVectorMachineModel(MiningFunction miningFunction, 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 MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic SupportVectorMachineModel setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic 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 SupportVectorMachineModel.Representation getRepresentation()
SupportVectorMachineModel.Representationpublic SupportVectorMachineModel setRepresentation(SupportVectorMachineModel.Representation representation)
representation - allowed object is
SupportVectorMachineModel.Representationpublic String getAlternateBinaryTargetCategory()
Stringpublic SupportVectorMachineModel setAlternateBinaryTargetCategory(String alternateBinaryTargetCategory)
alternateBinaryTargetCategory - allowed object is
Stringpublic SupportVectorMachineModel.ClassificationMethod getClassificationMethod()
SupportVectorMachineModel.ClassificationMethodpublic SupportVectorMachineModel setClassificationMethod(SupportVectorMachineModel.ClassificationMethod classificationMethod)
classificationMethod - allowed object is
SupportVectorMachineModel.ClassificationMethodpublic boolean isMaxWins()
Booleanpublic SupportVectorMachineModel setMaxWins(Boolean maxWins)
maxWins - allowed object is
Booleanpublic 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.