Efficiency and effectiveness in large-scale learning