Upstart Interview Question

Write down cost function of a model