Click or drag to resize
Accord.NET (logo)

LinearFunction Method (Double, SparseDouble)

The kernel function.

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

Parameters

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

Return Value

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

Implements

ILinearTFunction(Double, T)
See Also