Weighted model based clustering