Application of Machine Learning in Face Recognition