Table of Contents

Enum KNNWeights

Namespace
AiDotNet.Preprocessing.Imputers
Assembly
AiDotNet.dll

Weight function used in KNN prediction.

public enum KNNWeights

Fields

Distance = 1

Neighbors are weighted by the inverse of their distance.

Uniform = 0

All neighbors are weighted equally.