k property

int k

A number of nearest neighbours

The value is read-only, it's a hyperparameter of the model

Implementation

int get k;