public class SupportVectorMachine extends PMMLObject implements com.sun.xml.bind.Locatable
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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}SupportVectors" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}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_1}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alternateTargetCategory |
protected Coefficients |
coefficients |
protected List<Extension> |
extensions |
protected Locator |
locator |
protected SupportVectors |
supportVectors |
protected String |
targetCategory |
protected Double |
threshold |
| Constructor and Description |
|---|
SupportVectorMachine()
Deprecated.
|
SupportVectorMachine(Coefficients coefficients) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternateTargetCategory()
Gets the value of the alternateTargetCategory property.
|
Coefficients |
getCoefficients()
Gets the value of the coefficients property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
SupportVectors |
getSupportVectors()
Gets the value of the supportVectors property.
|
String |
getTargetCategory()
Gets the value of the targetCategory property.
|
Double |
getThreshold()
Gets the value of the threshold property.
|
void |
setAlternateTargetCategory(String value)
Sets the value of the alternateTargetCategory property.
|
void |
setCoefficients(Coefficients value)
Sets the value of the coefficients property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setSupportVectors(SupportVectors value)
Sets the value of the supportVectors property.
|
void |
setTargetCategory(String value)
Sets the value of the targetCategory property.
|
void |
setThreshold(Double value)
Sets the value of the threshold property.
|
Locator |
sourceLocation() |
protected SupportVectors supportVectors
protected Coefficients coefficients
protected String targetCategory
protected String alternateTargetCategory
protected Double threshold
protected Locator locator
@Deprecated public SupportVectorMachine()
public SupportVectorMachine(Coefficients coefficients)
public 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
public SupportVectors getSupportVectors()
SupportVectorspublic void setSupportVectors(SupportVectors value)
value - allowed object is
SupportVectorspublic Coefficients getCoefficients()
Coefficientspublic void setCoefficients(Coefficients value)
value - allowed object is
Coefficientspublic String getTargetCategory()
Stringpublic void setTargetCategory(String value)
value - allowed object is
Stringpublic String getAlternateTargetCategory()
Stringpublic void setAlternateTargetCategory(String value)
value - allowed object is
Stringpublic Double getThreshold()
Doublepublic void setThreshold(Double value)
value - allowed object is
Doublepublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.