public class PolynomialKernelType extends KernelType implements 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"/>
</sequence>
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="gamma" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="1" />
<attribute name="coef0" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="1" />
<attribute name="degree" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="1" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
coef0 |
protected Double |
degree |
protected String |
description |
protected List<Extension> |
extensions |
protected Double |
gamma |
protected Locator |
locator |
| 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.
|
String |
getDescription()
Gets the value of the description property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
double |
getGamma()
Gets the value of the gamma property.
|
void |
setCoef0(Double value)
Sets the value of the coef0 property.
|
void |
setDegree(Double value)
Sets the value of the degree property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setGamma(Double value)
Sets the value of the gamma property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
PolynomialKernelType |
withCoef0(Double value) |
PolynomialKernelType |
withDegree(Double value) |
PolynomialKernelType |
withDescription(String value) |
PolynomialKernelType |
withExtensions(Collection<Extension> values) |
PolynomialKernelType |
withExtensions(Extension... values) |
PolynomialKernelType |
withGamma(Double value) |
protected String description
protected Double gamma
protected Double coef0
protected Double degree
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 String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic double getGamma()
Doublepublic void setGamma(Double value)
value - allowed object is
Doublepublic double getCoef0()
Doublepublic void setCoef0(Double value)
value - allowed object is
Doublepublic double getDegree()
Doublepublic void setDegree(Double value)
value - allowed object is
Doublepublic PolynomialKernelType withExtensions(Extension... values)
public PolynomialKernelType withExtensions(Collection<Extension> values)
public PolynomialKernelType withDescription(String value)
public PolynomialKernelType withGamma(Double value)
public PolynomialKernelType withCoef0(Double value)
public PolynomialKernelType withDegree(Double value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.