added extra variable k and cutoff in log and KNN classifier respectively