Logistic Regression Vectorization Example