Enum KNNWeights
- Namespace
- AiDotNet.Preprocessing.Imputers
- Assembly
- AiDotNet.dll
Weight function used in KNN prediction.
public enum KNNWeights
Fields
Distance = 1Neighbors are weighted by the inverse of their distance.
Uniform = 0All neighbors are weighted equally.