public class SupportVectors extends PMMLObject implements Iterable<SupportVector>, com.sun.xml.bind.Locatable, 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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}SupportVector" maxOccurs="unbounded"/>
</sequence>
<attribute name="numberOfSupportVectors" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
<attribute name="numberOfAttributes" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extensions |
protected Locator |
locator |
protected Integer |
numberOfAttributes |
protected Integer |
numberOfSupportVectors |
protected List<SupportVector> |
supportVectors |
| Constructor and Description |
|---|
SupportVectors() |
protected List<SupportVector> supportVectors
protected Integer numberOfSupportVectors
protected Integer numberOfAttributes
protected Locator locator
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
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 Integer getNumberOfSupportVectors()
Stringpublic void setNumberOfSupportVectors(Integer value)
value - allowed object is
Stringpublic Integer getNumberOfAttributes()
Stringpublic void setNumberOfAttributes(Integer value)
value - allowed object is
Stringpublic SupportVectors withExtensions(Extension... values)
public SupportVectors withExtensions(Collection<Extension> values)
public SupportVectors withSupportVectors(SupportVector... values)
public SupportVectors withSupportVectors(Collection<SupportVector> values)
public SupportVectors withNumberOfSupportVectors(Integer value)
public SupportVectors withNumberOfAttributes(Integer value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic Iterator<SupportVector> iterator()
iterator in interface Iterable<SupportVector>public VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.