Clarifying the cost function A good cost function accurately represents which solutions are preferable.