|
SparseLinearDistance Method
|
Computes the squared distance in feature space
between two points given in input space.
Namespace:
Accord.Statistics.Kernels.Sparse
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public override double Distance(
double[] x,
double[] y
)
Public Overrides Function Distance (
x As Double(),
y As Double()
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
Vector x in feature (kernel) space. - y
- Type: SystemDouble
Vector y in feature (kernel) space.
Return Value
Type:
DoubleDistance between
x and
y in input space.
Implements
IDistanceT, UDistance(T, U)See Also