What does the ‘k’ stand for in k-nearest-neighbors?
What does the ‘k’ stand for in k-nearest-neighbors?
- the number of samples in the dataset
- the number of training datasets
- the number of nearest neighbors to consider in classifying a sample
- the distance between neighbors: All neighboring samples that are ‘k’ distance apart from the sample are considered in classifying that sample.
Get All Week Quiz Answer: