public class PolynomialKernel extends NestedKernel
Constructor and Description |
---|
PolynomialKernel() |
PolynomialKernel(SVMKernel nested,
double order,
double a,
double c) |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(Object a,
Object b)
Return the dot product of two vectors in an arbitrary
feature space.
|
double |
getConstant() |
double |
getMultiplier() |
double |
getOrder() |
void |
setConstant(double c) |
void |
setMultiplier(double m) |
void |
setOrder(double o) |
String |
toString() |
getNestedKernel, setNestedKernel
public PolynomialKernel()
public PolynomialKernel(SVMKernel nested, double order, double a, double c)
public double evaluate(Object a, Object b)
SVMKernel
public double getOrder()
public void setOrder(double o)
public double getConstant()
public void setConstant(double c)
public double getMultiplier()
public void setMultiplier(double m)
Copyright © 2014 BioJava. All rights reserved.