# Cost Function

When we have multiple parameters $$θ_0…...θ_n$$, the cost function is given by:

$$J(θ) = (1/2m) ∑_{i=1}^{m}(h_θ(x^{(i)})−y^{(i)})^2$$

where $$θ$$ is a vector.
