added learning methods to ranker