public class LinearVectorKernel extends Object implements VectorKernel
| Constructor and Description |
|---|
LinearVectorKernel() |
| Modifier and Type | Method and Description |
|---|---|
Double |
apply(IndependentPair<double[],double[]> in)
Apply the function to the input argument and return the result.
|
static double[] |
getDirection(List<double[]> supports,
List<Double> weights) |
static no.uib.cipr.matrix.Vector[] |
getPlaneDirections(List<double[]> supports,
List<Double> weights) |
static double[] |
getPlanePoint(List<double[]> supports,
List<Double> weights,
double bias,
double... setValues)
On the plane
|
public LinearVectorKernel()
public Double apply(IndependentPair<double[],double[]> in)
Functionapply in interface Function<IndependentPair<double[],double[]>,Double>in - the input objectpublic static double[] getPlanePoint(List<double[]> supports, List<Double> weights, double bias, double... setValues)
supports - weights - bias - setValues - the dimentions of the point set to 0public static no.uib.cipr.matrix.Vector[] getPlaneDirections(List<double[]> supports, List<Double> weights)
supports - weights - public static double[] getDirection(List<double[]> supports, List<Double> weights)