Theta found by gradient descent: -3.630291 1.166362 For population = 35,000, we predict a profit of 4519.767868 For population = 70,000, we predict a profit of 45342.450129
Theta found by gradient descent: -2.867800 1.089762 For population = 35,000, we predict a profit of 9463.666241 For population = 70,000, we predict a profit of 47605.328274