public abstract class GaussianProcessKernel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GaussianProcessKernel.Space |
Modifier and Type | Field and Description |
---|---|
protected float |
relDep |
protected float |
scale |
protected FloatMatrix |
scalingWeights |
protected GaussianProcessKernel.Space |
space |
protected boolean |
weighted |
Constructor and Description |
---|
GaussianProcessKernel() |
GaussianProcessKernel(float[] scalingWeights)
Weights are the number of groundings for a rule divided by total number of groundings.
|
Modifier and Type | Method and Description |
---|---|
float |
kernel(float[] point1,
float[] point2)
Compute the kernels, but allocate new buffer for the computation.
|
float |
kernel(float[] point1,
float[] point2,
float[] buffer1,
float[] buffer2,
FloatMatrix matrixShell1,
FloatMatrix matrixShell2)
Compute the kernel, but use buffers provided by the caller.
|
abstract float |
kernel(FloatMatrix point1,
FloatMatrix point2)
The actual kernel computation.
|
protected final FloatMatrix scalingWeights
protected final boolean weighted
protected final float scale
protected final float relDep
protected final GaussianProcessKernel.Space space
public GaussianProcessKernel()
public GaussianProcessKernel(float[] scalingWeights)
public abstract float kernel(FloatMatrix point1, FloatMatrix point2)
public float kernel(float[] point1, float[] point2, float[] buffer1, float[] buffer2, FloatMatrix matrixShell1, FloatMatrix matrixShell2)
public float kernel(float[] point1, float[] point2)
Copyright © 2020 University of California, Santa Cruz. All rights reserved.