Click or drag to resize
Accord.NET (logo)

LinearFunction Method (Double, Double)

Linear kernel function.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double Function(
	double[] x,
	double[] y
)
Request Example View Source

Parameters

x
Type: SystemDouble
Vector x in input space.
y
Type: SystemDouble
Vector y in input space.

Return Value

Type: Double
Dot product in feature (kernel) space.

Implements

IKernelTFunction(T, T)
ILinearTFunction(Double, T)
See Also