Class WhiteNoise
White noise kernel function. This can be added to other kernels using the SummationKernel class to provide measurement noise
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Kernels
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class WhiteNoise : KernelFunction, IKernelFunctionWithParams, IKernelFunction
Constructors
WhiteNoise()
Default constructor for white noise kernel function
Declaration
public WhiteNoise()
WhiteNoise(Double)
Construct white noise kernel function from log noise standard deviation
Declaration
[Construction(new string[]{"LogNoiseSD"})]
public WhiteNoise(double logNoiseSD)
Parameters
Type | Name | Description |
---|---|---|
Double | logNoiseSD | Log noise standard deviation |
Properties
Item[Int32]
Sets or gets a log hyper-parameter by index
Declaration
public override double this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
Double |
Overrides
LogNoiseSD
Declaration
public double LogNoiseSD { get; }
Property Value
Type | Description |
---|---|
Double |
TypeVersion
The static version for the derived class
Declaration
public override int TypeVersion { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Methods
EvaluateX(Vector, ref Vector, ref Vector)
Evaluates the kernel for a single vector (which is used for both slots)
Declaration
public override double EvaluateX(Vector x, ref Vector xDeriv, ref Vector logThetaDeriv)
Parameters
Type | Name | Description |
---|---|---|
Vector | x | Vector |
Vector | xDeriv | Derivative of the kernel value with respect to x |
Vector | logThetaDeriv | Derivative of the kernel value with respect to the log hyper-parameters |
Returns
Type | Description |
---|---|
Double |
Overrides
EvaluateX1X2(Vector, Vector, ref Vector, ref Vector)
Evaluates the kernel for a pair of vectors
Declaration
public override double EvaluateX1X2(Vector x1, Vector x2, ref Vector x1Deriv, ref Vector logThetaDeriv)
Parameters
Type | Name | Description |
---|---|---|
Vector | x1 | First vector |
Vector | x2 | Second vector |
Vector | x1Deriv | Derivative of the kernel value with respect to x1 input vector |
Vector | logThetaDeriv | Derivative of the kernel value with respect to the log hyper-parameters |
Returns
Type | Description |
---|---|
Double |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |