Transitioning from classification trees to regression trees