It's really a operate that measures the overall performance of the Device Understanding model for supplied knowledge. Price Function quantifies the mistake in between predicted values and envisioned values and provides it in the shape of an individual real range. Dependant upon the difficulty Cost Functionality could be fashioned in numerous methods. The goal of Expense Function will be to be both:
Minimized - then returned benefit is often known as Charge, loss or mistake. The goal is usually to find the values of design parameters for which Price tag Operate return as compact amount as feasible.
Maximized - then the value it yields is named a reward. The target is to locate values of design parameters for which returned selection is cost function as huge as feasible.