Click or drag to resize
Accord.NET (logo)

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,
	double[] rowMean,
	double mean,
	double[,] result = null
)
Request Example View Source

Parameters

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: Double
See Also