I had a trouble in question 5 of K-Means (open-ended) question on the Mock Exam.
In the solution of question 5, it says we should use MSE. However, how do we compute L2 distance of p_i and p_i(hat) which has different dimensions?
Because, isn't p_i three dimensional, i.e. [0,255]^3, and p_i(hat) is only one dimensional, [0,255]. I didn't understand how ||p_i-p_i(hat)|| is computed.
Maybe I am missing something, can you help?
Best regards,
Mert