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="alternateBinaryTargetCategory" 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="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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithmName |
protected java.lang.String |
alternateBinaryTargetCategory |
protected SvmClassificationMethodType |
classificationMethod |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected KernelType |
kernelType |
protected LocalTransformations |
localTransformations |
protected MiningSchema |
miningSchema |
protected ModelExplanation |
modelExplanation |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected Output |
output |
protected java.lang.Boolean |
scorable |
protected java.util.List<SupportVectorMachine> |
supportVectorMachines |
protected SvmRepresentationType |
svmRepresentation |
protected Targets |
targets |
protected java.lang.Double |
threshold |
protected VectorDictionary |
vectorDictionary |
| Constructor and Description |
|---|
SupportVectorMachineModel() |
SupportVectorMachineModel(MiningFunctionType functionName,
MiningSchema miningSchema,
VectorDictionary vectorDictionary,
java.util.List<SupportVectorMachine> supportVectorMachines) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
java.lang.String |
getAlternateBinaryTargetCategory()
Gets the value of the alternateBinaryTargetCategory property.
|
SvmClassificationMethodType |
getClassificationMethod()
Gets the value of the classificationMethod property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
KernelType |
getKernelType()
Gets the value of the kernelType 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.
|
java.lang.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.
|
java.util.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.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setAlternateBinaryTargetCategory(java.lang.String value)
Sets the value of the alternateBinaryTargetCategory property.
|
void |
setClassificationMethod(SvmClassificationMethodType value)
Sets the value of the classificationMethod property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setKernelType(KernelType value)
Sets the value of the kernelType property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setModelExplanation(ModelExplanation value)
Sets the value of the modelExplanation property.
|
void |
setModelName(java.lang.String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(java.lang.Boolean value)
Sets the value of the scorable property.
|
void |
setSvmRepresentation(SvmRepresentationType value)
Sets the value of the svmRepresentation property.
|
void |
setTargets(Targets value)
Sets the value of the targets property.
|
void |
setThreshold(java.lang.Double value)
Sets the value of the threshold property.
|
void |
setVectorDictionary(VectorDictionary value)
Sets the value of the vectorDictionary property.
|
SupportVectorMachineModel |
withAlgorithmName(java.lang.String value) |
SupportVectorMachineModel |
withAlternateBinaryTargetCategory(java.lang.String value) |
SupportVectorMachineModel |
withClassificationMethod(SvmClassificationMethodType value) |
SupportVectorMachineModel |
withExtensions(java.util.Collection<Extension> values) |
SupportVectorMachineModel |
withExtensions(Extension... values) |
SupportVectorMachineModel |
withFunctionName(MiningFunctionType value) |
SupportVectorMachineModel |
withKernelType(KernelType value) |
SupportVectorMachineModel |
withLocalTransformations(LocalTransformations value) |
SupportVectorMachineModel |
withMiningSchema(MiningSchema value) |
SupportVectorMachineModel |
withModelExplanation(ModelExplanation value) |
SupportVectorMachineModel |
withModelName(java.lang.String value) |
SupportVectorMachineModel |
withModelStats(ModelStats value) |
SupportVectorMachineModel |
withModelVerification(ModelVerification value) |
SupportVectorMachineModel |
withOutput(Output value) |
SupportVectorMachineModel |
withScorable(java.lang.Boolean value) |
SupportVectorMachineModel |
withSupportVectorMachines(java.util.Collection<SupportVectorMachine> values) |
SupportVectorMachineModel |
withSupportVectorMachines(SupportVectorMachine... values) |
SupportVectorMachineModel |
withSvmRepresentation(SvmRepresentationType value) |
SupportVectorMachineModel |
withTargets(Targets value) |
SupportVectorMachineModel |
withThreshold(java.lang.Double value) |
SupportVectorMachineModel |
withVectorDictionary(VectorDictionary value) |
getLocator, setLocatorprotected java.lang.String modelName
protected java.lang.String alternateBinaryTargetCategory
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected java.lang.Double threshold
protected SvmRepresentationType svmRepresentation
protected SvmClassificationMethodType classificationMethod
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected Targets targets
protected LocalTransformations localTransformations
protected KernelType kernelType
protected VectorDictionary vectorDictionary
protected java.util.List<SupportVectorMachine> supportVectorMachines
protected ModelVerification modelVerification
public SupportVectorMachineModel()
public SupportVectorMachineModel(MiningFunctionType functionName, MiningSchema miningSchema, VectorDictionary vectorDictionary, java.util.List<SupportVectorMachine> supportVectorMachines)
public java.lang.String getModelName()
getModelName in class ModelStringpublic void setModelName(java.lang.String value)
setModelName in class Modelvalue - allowed object is
Stringpublic java.lang.String getAlternateBinaryTargetCategory()
Stringpublic void setAlternateBinaryTargetCategory(java.lang.String value)
value - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class Modelvalue - allowed object is
MiningFunctionTypepublic java.lang.String getAlgorithmName()
getAlgorithmName in class ModelStringpublic void setAlgorithmName(java.lang.String value)
setAlgorithmName in class Modelvalue - allowed object is
Stringpublic double getThreshold()
Doublepublic void setThreshold(java.lang.Double value)
value - allowed object is
Doublepublic SvmRepresentationType getSvmRepresentation()
SvmRepresentationTypepublic void setSvmRepresentation(SvmRepresentationType value)
value - allowed object is
SvmRepresentationTypepublic SvmClassificationMethodType getClassificationMethod()
SvmClassificationMethodTypepublic void setClassificationMethod(SvmClassificationMethodType value)
value - allowed object is
SvmClassificationMethodTypepublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(java.lang.Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic java.util.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 void setMiningSchema(MiningSchema value)
setMiningSchema in class Modelvalue - allowed object is
MiningSchemapublic Output getOutput()
public void setOutput(Output value)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class Modelvalue - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic void setModelExplanation(ModelExplanation value)
setModelExplanation in class Modelvalue - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic void setTargets(Targets value)
setTargets in class Modelvalue - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - allowed object is
LocalTransformationspublic KernelType getKernelType()
LinearKernelType
PolynomialKernelType
RadialBasisKernelType
SigmoidKernelTypepublic void setKernelType(KernelType value)
value - allowed object is
LinearKernelType
PolynomialKernelType
RadialBasisKernelType
SigmoidKernelTypepublic VectorDictionary getVectorDictionary()
VectorDictionarypublic void setVectorDictionary(VectorDictionary value)
value - allowed object is
VectorDictionarypublic java.util.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 void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic SupportVectorMachineModel withModelName(java.lang.String value)
public SupportVectorMachineModel withAlternateBinaryTargetCategory(java.lang.String value)
public SupportVectorMachineModel withFunctionName(MiningFunctionType value)
public SupportVectorMachineModel withAlgorithmName(java.lang.String value)
public SupportVectorMachineModel withThreshold(java.lang.Double value)
public SupportVectorMachineModel withSvmRepresentation(SvmRepresentationType value)
public SupportVectorMachineModel withClassificationMethod(SvmClassificationMethodType value)
public SupportVectorMachineModel withScorable(java.lang.Boolean value)
public SupportVectorMachineModel withExtensions(Extension... values)
public SupportVectorMachineModel withExtensions(java.util.Collection<Extension> values)
public SupportVectorMachineModel withMiningSchema(MiningSchema value)
public SupportVectorMachineModel withOutput(Output value)
public SupportVectorMachineModel withModelStats(ModelStats value)
public SupportVectorMachineModel withModelExplanation(ModelExplanation value)
public SupportVectorMachineModel withTargets(Targets value)
public SupportVectorMachineModel withLocalTransformations(LocalTransformations value)
public SupportVectorMachineModel withKernelType(KernelType value)
public SupportVectorMachineModel withVectorDictionary(VectorDictionary value)
public SupportVectorMachineModel withSupportVectorMachines(SupportVectorMachine... values)
public SupportVectorMachineModel withSupportVectorMachines(java.util.Collection<SupportVectorMachine> values)
public SupportVectorMachineModel withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasSupportVectorMachines()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.