public class SupportVectorMachine extends PMMLObject 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}SupportVectors" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Coefficients"/>
</sequence>
<attribute name="targetCategory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="alternateTargetCategory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="threshold" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
alternateTargetCategory |
protected Coefficients |
coefficients |
protected java.util.List<Extension> |
extensions |
protected SupportVectors |
supportVectors |
protected java.lang.String |
targetCategory |
protected java.lang.Double |
threshold |
| Constructor and Description |
|---|
SupportVectorMachine() |
SupportVectorMachine(Coefficients coefficients) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlternateTargetCategory()
Gets the value of the alternateTargetCategory property.
|
Coefficients |
getCoefficients()
Gets the value of the coefficients property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
SupportVectors |
getSupportVectors()
Gets the value of the supportVectors property.
|
java.lang.String |
getTargetCategory()
Gets the value of the targetCategory property.
|
java.lang.Double |
getThreshold()
Gets the value of the threshold property.
|
boolean |
hasExtensions() |
void |
setAlternateTargetCategory(java.lang.String value)
Sets the value of the alternateTargetCategory property.
|
void |
setCoefficients(Coefficients value)
Sets the value of the coefficients property.
|
void |
setSupportVectors(SupportVectors value)
Sets the value of the supportVectors property.
|
void |
setTargetCategory(java.lang.String value)
Sets the value of the targetCategory property.
|
void |
setThreshold(java.lang.Double value)
Sets the value of the threshold property.
|
SupportVectorMachine |
withAlternateTargetCategory(java.lang.String value) |
SupportVectorMachine |
withCoefficients(Coefficients value) |
SupportVectorMachine |
withExtensions(java.util.Collection<Extension> values) |
SupportVectorMachine |
withExtensions(Extension... values) |
SupportVectorMachine |
withSupportVectors(SupportVectors value) |
SupportVectorMachine |
withTargetCategory(java.lang.String value) |
SupportVectorMachine |
withThreshold(java.lang.Double value) |
getLocator, setLocatorprotected java.lang.String targetCategory
protected java.lang.String alternateTargetCategory
protected java.lang.Double threshold
protected java.util.List<Extension> extensions
protected SupportVectors supportVectors
protected Coefficients coefficients
public SupportVectorMachine()
public SupportVectorMachine(Coefficients coefficients)
public java.lang.String getTargetCategory()
Stringpublic void setTargetCategory(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getAlternateTargetCategory()
Stringpublic void setAlternateTargetCategory(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Double getThreshold()
Doublepublic void setThreshold(java.lang.Double value)
value - allowed object is
Doublepublic 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 SupportVectors getSupportVectors()
SupportVectorspublic void setSupportVectors(SupportVectors value)
value - allowed object is
SupportVectorspublic Coefficients getCoefficients()
Coefficientspublic void setCoefficients(Coefficients value)
value - allowed object is
Coefficientspublic SupportVectorMachine withTargetCategory(java.lang.String value)
public SupportVectorMachine withAlternateTargetCategory(java.lang.String value)
public SupportVectorMachine withThreshold(java.lang.Double value)
public SupportVectorMachine withExtensions(Extension... values)
public SupportVectorMachine withExtensions(java.util.Collection<Extension> values)
public SupportVectorMachine withSupportVectors(SupportVectors value)
public SupportVectorMachine withCoefficients(Coefficients value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.