Logistic Regression and Neural Network examples in Ruby