Subject

    Computer Science

    Topic

    Artificial Intelligence

    In k-means, the current centroids are C1 = (0,0) and C2 = (5,5). To which centroid is the point (1,2) assigned?

    a)
    C2
    b)
    Equally to both
    c)
    Neither
    d)
    C1

    Explanation

    Squared distance to C1 is 1 + 4 = 5 and to C2 is 16 + 9 = 25, so the point joins the nearer centroid, C1.

    Find Tutors

    View all Tutors