checking classifier's accuracy