Interface IKernelFunction
Interface for all Kernel functions
Namespace: Microsoft.ML.Probabilistic.Distributions.Kernels
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface IKernelFunction
Methods
EvaluateX(Vector)
Evaluates the kernel for a single vector
Declaration
double EvaluateX(Vector x)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector | x | Vector |
Returns
| Type | Description |
|---|---|
| Double |
EvaluateX1X2(Vector, Vector)
Evaluates the kernel for a pair of vectors
Declaration
double EvaluateX1X2(Vector x1, Vector x2)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector | x1 | First vector |
| Vector | x2 | Second vector |
Returns
| Type | Description |
|---|---|
| Double |