numpythonic predictions + logistic model training