classification with qlearning