Click or drag to resize
Accord.NET (logo)

MinimumMeanDistanceClassifierCompute Method (Double, Double)

Note: This API is now obsolete.

Computes the label for the given input.

Namespace:  Accord.MachineLearning
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Decide instead.")]
public int Compute(
	double[] input,
	out double[] distances
)
Request Example View Source

Parameters

input
Type: SystemDouble
The input value.
distances
Type: SystemDouble
The distances from input to the class means.

Return Value

Type: Int32
The output label assigned to this point.
See Also