dunnhumby Interview Question

Explain Machine Learning algorithms like Kmeans clustering , Linear regression and algos specific to predictive modelling . How to choose no of clusters in K means