Machine Learning, Artificial Intelligence, Statistics, Data Science, Towards Data Science.
output y and M features x, for training. N observations with 1 output and M features for each. We define an M dimensional vector w to represent weights which map inputs to outputs. We also define N by M dimensional matrix X to represent all the inputs. y is defined as N dimensional output vector.