public class SupportVectors extends PMMLObject implements Iterable<SupportVector>, 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}SupportVector" maxOccurs="unbounded"/>
</sequence>
<attribute name="numberOfSupportVectors" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="numberOfAttributes" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SupportVectors() |
SupportVectors(List<SupportVector> supportVectors) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
SupportVectors |
addExtensions(Extension... extensions) |
SupportVectors |
addSupportVectors(SupportVector... supportVectors) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Integer |
getNumberOfAttributes()
Gets the value of the numberOfAttributes property.
|
Integer |
getNumberOfSupportVectors()
Gets the value of the numberOfSupportVectors property.
|
List<SupportVector> |
getSupportVectors()
Gets the value of the supportVectors property.
|
boolean |
hasExtensions() |
boolean |
hasSupportVectors() |
Iterator<SupportVector> |
iterator() |
SupportVectors |
setNumberOfAttributes(Integer numberOfAttributes)
Sets the value of the numberOfAttributes property.
|
SupportVectors |
setNumberOfSupportVectors(Integer numberOfSupportVectors)
Sets the value of the numberOfSupportVectors property.
|
getLocator, setLocatorpublic SupportVectors()
public SupportVectors(List<SupportVector> supportVectors)
public Integer getNumberOfSupportVectors()
Stringpublic SupportVectors setNumberOfSupportVectors(Integer numberOfSupportVectors)
numberOfSupportVectors - allowed object is
Stringpublic Integer getNumberOfAttributes()
Stringpublic SupportVectors setNumberOfAttributes(Integer numberOfAttributes)
numberOfAttributes - allowed object is
Stringpublic 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 List<SupportVector> getSupportVectors()
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 supportVectors property.
For example, to add a new item, do as follows:
getSupportVectors().add(newItem);
Objects of the following type(s) are allowed in the list
SupportVector
public Iterator<SupportVector> iterator()
iterator in interface Iterable<SupportVector>public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic SupportVectors addExtensions(Extension... extensions)
public boolean hasSupportVectors()
public SupportVectors addSupportVectors(SupportVector... supportVectors)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.