how machine learning applies classification