classRF train