public final class SigmoidKernelType extends KernelType
SigmoidKernelType
PMML element.Constructor and Description |
---|
SigmoidKernelType()
Creates a new
SigmoidKernelType initialized to defaults. |
Modifier and Type | Method and Description |
---|---|
double |
compute(DoubleValuedIterator it1,
DoubleValuedIterator it2)
Computes the kernel function of the two vectors.
|
double |
getCoef0()
Returns the value of the "coef0" attribute.
|
double |
getGamma()
Returns the value of the "gamma" attribute.
|
SigmoidKernelType |
setCoef0(double coef0)
Sets the value of the "coef0" attribute.
|
SigmoidKernelType |
setGamma(double gamma)
Sets the value of the "gamma" attribute.
|
getDescription, setDescription
public SigmoidKernelType()
SigmoidKernelType
initialized to defaults.public final double getGamma()
public final SigmoidKernelType setGamma(double gamma)
gamma
- the value of the "gamma" attribute.public final double getCoef0()
public final SigmoidKernelType setCoef0(double coef0)
coef0
- the value of the "coef0" attribute.public double compute(DoubleValuedIterator it1, DoubleValuedIterator it2)
KernelType
compute
in class KernelType
it1
- An iterator over the first vectorit2
- An iterator over the second vector.Copyright © 2016 Actian Corporation. All rights reserved.