|
KernelCenter Method (Double, Double, Double, Double)
|
Centers the given kernel matrix K.
Namespace:
Accord.Statistics.Kernels
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double[][] Center(
double[][] kernelMatrix,
out double[] rowMean,
out double mean,
double[][] result = null
)
Public Shared Function Center (
kernelMatrix As Double()(),
<OutAttribute> ByRef rowMean As Double(),
<OutAttribute> ByRef mean As Double,
Optional result As Double()() = Nothing
) As Double()()
Request Example
View SourceParameters
- kernelMatrix
- Type: SystemDouble
The kernel matrix to be centered. - rowMean
- Type: SystemDouble
The row-wise mean vector. - mean
- Type: SystemDouble
The total mean (across all values in the matrix). - result (Optional)
- Type: SystemDouble
The array where to store results.
Return Value
Type:
DoubleSee Also