Implement K-Means in NumPy or PyTorch
Use a vectorized Lloyd algorithm on an NxD matrix for this Apple ML problem. Compute broadcasted pairwise distances to return K centroids and labels.
Check more interview questions and experiences about Apple
Use a vectorized Lloyd algorithm on an NxD matrix for this Apple ML problem. Compute broadcasted pairwise distances to return K centroids and labels.
Check more interview questions and experiences about Apple
Please log in to view interview question details