Click or drag to resize
Accord.NET (logo)

MinimumMeanDistanceClassifier Constructor (IDistanceDouble, Double, Int32)

Initializes a new instance of the MinimumMeanDistanceClassifier class.

Namespace:  Accord.MachineLearning
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public MinimumMeanDistanceClassifier(
	IDistance<double[]> distance,
	double[][] inputs,
	int[] outputs
)
Request Example View Source

Parameters

distance
Type: Accord.Math.DistancesIDistanceDouble
A distance function. Default is to use the Euclidean(Double, Double) distance.
inputs
Type: SystemDouble
The input points.
outputs
Type: SystemInt32
The output labels associated with each inputs.
See Also