predict for reductions

reductions now have a separate predict function in addition to learn.