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;
A number of nearest neighbours
The value is read-only, it's a hyperparameter of the model
int get k;