modified classifier training to return pre-processed data for offline analysis