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>
| Constructor and Description |
|---|
SupportVectorMachine() |
SupportVectorMachine(Coefficients coefficients) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
SupportVectorMachine |
addExtensions(Extension... extensions) |
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.
|
boolean |
hasExtensions() |
SupportVectorMachine |
setAlternateTargetCategory(String alternateTargetCategory)
Sets the value of the alternateTargetCategory property.
|
SupportVectorMachine |
setCoefficients(Coefficients coefficients)
Sets the value of the coefficients property.
|
SupportVectorMachine |
setSupportVectors(SupportVectors supportVectors)
Sets the value of the supportVectors property.
|
SupportVectorMachine |
setTargetCategory(String targetCategory)
Sets the value of the targetCategory property.
|
SupportVectorMachine |
setThreshold(Double threshold)
Sets the value of the threshold property.
|
getLocator, setLocatorpublic SupportVectorMachine()
public SupportVectorMachine(Coefficients coefficients)
public String getTargetCategory()
Stringpublic SupportVectorMachine setTargetCategory(String targetCategory)
targetCategory - allowed object is
Stringpublic String getAlternateTargetCategory()
Stringpublic SupportVectorMachine setAlternateTargetCategory(String alternateTargetCategory)
alternateTargetCategory - allowed object is
Stringpublic Double getThreshold()
Doublepublic SupportVectorMachine setThreshold(Double threshold)
threshold - allowed object is
Doublepublic 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 SupportVectorMachine setSupportVectors(SupportVectors supportVectors)
supportVectors - allowed object is
SupportVectorspublic Coefficients getCoefficients()
Coefficientspublic SupportVectorMachine setCoefficients(Coefficients coefficients)
coefficients - allowed object is
Coefficientspublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic SupportVectorMachine addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.