Pergunta de entrevista da empresa Amazon

Define loss function. Write the formula for the loss function,