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?
In k-means, the current centroids are C1 = (0,0) and C2 = (5,5). To which centroid is the point (1,2) assigned?
a)
C2b)
Equally to bothc)
Neitherd)
C1Explanation
Squared distance to C1 is 1 + 4 = 5 and to C2 is 16 + 9 = 25, so the point joins the nearer centroid, C1.Related questions
A classifier has TP=40, FP=10, FN=5, TN=45. What is its accuracy rounded to two decimals?A classifier has TP=30, FP=10, FN=20, TN=40. What is its precision rounded to two decimals?A classifier has TP=36, FP=4, FN=9, TN=51. What is its recall rounded to two decimals?A classifier has TP=24, FP=6, FN=6, TN=64. What is its f1 rounded to two decimals?In the figure, a binary node contains class counts 6 and 2. What is its entropy in bits, rounded to three decimals?In the figure, a split changes parent counts 6,4 into left 4,1 and right 2,3. What is information gain rounded to three decimals?A condition has prior 0.1, test sensitivity 0.8, and false-positive rate 0.2. What is P(condition given positive), rounded to three decimals?A feature computed after the prediction time is included during training. What problem does this create?
