Occasionally, one can see the following expression called cost function:
It looks to be me like maximum likelihood expression. I think it is incorrect to refer to maximum likelihood express as a cost function. They are different. Am I right?
Update In my view cost function is squared deviation or something similar $$\sum_i (x_i - y_i)^2$$