Ipython nb example logit regression