ML Knowledge

What is k-means clustering? Does it find a global optimum? Implement k-means clustering, with inputs an N*D matrix and outputs k N_i*D matrices.

Try Free AI Interview

Google logo

Google

Product Manager

Prepare for success with realistic, role-specific interview simulations.

Product Strategy
Meta logo

Meta

Product Manager

Prepare for success with realistic, role-specific interview simulations.

Product Sense
Meta logo

Meta

Engineering Manager

Prepare for success with realistic, role-specific interview simulations.

System Design
Amazon logo

Amazon

Data Scientist

Prepare for success with realistic, role-specific interview simulations.

Behavioral

Interview question asked to Data Scientists interviewing at Addepar, Nubank, Wish and others: What is k-means clustering? Does it find a global optimum? Implement k-means clustering, with inputs an N*D matrix and outputs k N_i*D matrices..