Week 3: Evaluating a model:

I was wondering if in the first equation (1): Fitting parameter by minimizing J(w,b), if the vector x^(i) and y^(i) are data values from just the training set or the whole dataset.

Train using only the training set.