7. [20 points] Consider the problem of predicting how well a student does in her second year of college/university, given how well she did in her first year.
Specifically, let x be equal to the number of \"A\" grades (including A-, A and A+ grades) that a student receives in their first year of college (freshmen year). We would like to predict the value of y, which we define as the number of \"A\" grades they get in their second year (sophomore year).
Here each row is one training example. Recall that in linear regression, our hypothesis is $h_\theta(x) = \theta_0 + \theta_1x$, and we use m to denote the number of training examples
\begin{array}{|c|c|}
\hline
x & y \\
\hline
5 & 4 \\
3 & 4 \\
0 & 1 \\
4 & 3 \\
\hline
\end{array}
a) Assume that we are using the training set above. What is $J(\theta_0, \theta_1)$? Given that $\theta_0 = 0$ and $\theta_1 = 1$.