Click or drag to resize
Accord.NET (logo)

BaseKNearestNeighborsTModel, TInput, TDistanceDistance Property

Gets or sets the distance function used as a distance metric between data points.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public TDistance Distance { get; set; }
Request Example View Source

Property Value

Type: TDistance
See Also