Subject

    Computer Science

    Topic

    Artificial Intelligence

    In the k-nearest neighbours (k-NN) algorithm, what does k stand for?

    a)
    The number of clusters
    b)
    The number of nearest neighbours that vote
    c)
    The number of features
    d)
    The number of training epochs

    Explanation

    A new point gets the majority label (or average value) of its k closest training points.

    Find Tutors

    View all Tutors