Cost Functions
When you think about cost, what comes to your mind? Cost is the estimated price that we have to pay for a service. Likewise, a cost function measures the estimated tradeoff of the accuracy of a “cut” that’s taken by the model for predicting our desired values. A cost or a loss function is a…