Vectorization: new section as cut-out from linear and logistic regression