As far as I understand, the randomForest method runs via regression although I factor violation at the top so it is a classification. I don\'t understand why my code doesn\'