I have a 63*62 training set and the class labels are also present. The test data is a 25*62 dimensions and has the class labels too. Given this how would I perform least squares regression? I am using the code:
res = lm(height~age)
what does height and age correspond to? When I have 61 features + 1 class (making it 62 columns for the training data) how would I input parameters?
Also how do I apply the model on the testing data?