Click or drag to resize
Accord.NET (logo)

GaussianDistances Method (SparseDouble, Int32)

Computes the set of all distances between all points in a random subset of the data.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double[] Distances(
	Sparse<double>[] inputs,
	int samples
)
Request Example View Source

Parameters

inputs
Type: Accord.MathSparseDouble
The inputs points.
samples
Type: SystemInt32
The number of samples.

Return Value

Type: Double
See Also