Objective Function

It’s goal(objective) is perform Optimization of Machine Learning Models by minimizing or maximizing the result of an evaluation function. Objective functions describe the error in a prediction by measuring the difference between the predicted value and the expected value.

Types of Objective Function:

  • Loss Functions () computes the error for a single training example.
  • Cost Function () computes the error for entire training examples. I.e. aggregates all the loss values.