public class PolynomialKernelType extends KernelType 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"/>
</sequence>
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="gamma" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="1" />
<attribute name="coef0" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="1" />
<attribute name="degree" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="1" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
coef0 |
protected java.lang.Double |
degree |
protected java.lang.String |
description |
protected java.util.List<Extension> |
extensions |
protected java.lang.Double |
gamma |
| Constructor and Description |
|---|
PolynomialKernelType() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
double |
getCoef0()
Gets the value of the coef0 property.
|
double |
getDegree()
Gets the value of the degree property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
double |
getGamma()
Gets the value of the gamma property.
|
boolean |
hasExtensions() |
void |
setCoef0(java.lang.Double value)
Sets the value of the coef0 property.
|
void |
setDegree(java.lang.Double value)
Sets the value of the degree property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setGamma(java.lang.Double value)
Sets the value of the gamma property.
|
PolynomialKernelType |
withCoef0(java.lang.Double value) |
PolynomialKernelType |
withDegree(java.lang.Double value) |
PolynomialKernelType |
withDescription(java.lang.String value) |
PolynomialKernelType |
withExtensions(java.util.Collection<Extension> values) |
PolynomialKernelType |
withExtensions(Extension... values) |
PolynomialKernelType |
withGamma(java.lang.Double value) |
getLocator, setLocatorprotected java.lang.String description
protected java.lang.Double gamma
protected java.lang.Double coef0
protected java.lang.Double degree
protected java.util.List<Extension> extensions
public java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic double getGamma()
Doublepublic void setGamma(java.lang.Double value)
value - allowed object is
Doublepublic double getCoef0()
Doublepublic void setCoef0(java.lang.Double value)
value - allowed object is
Doublepublic double getDegree()
Doublepublic void setDegree(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 PolynomialKernelType withDescription(java.lang.String value)
public PolynomialKernelType withGamma(java.lang.Double value)
public PolynomialKernelType withCoef0(java.lang.Double value)
public PolynomialKernelType withDegree(java.lang.Double value)
public PolynomialKernelType withExtensions(Extension... values)
public PolynomialKernelType withExtensions(java.util.Collection<Extension> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.