used vectorized regularized logistic regression from last week