Functions & Programming Concepts · Level 2 of 5
Objective Function
The quantity an optimization problem seeks to minimize or maximize.
A training objective may combine prediction loss with regularization and other terms.
Example
A model minimizes prediction error plus a size penalty.
Listen to the definition and example
Audio transcript
Objective Function. The quantity an optimization problem seeks to minimize or maximize. A training objective may combine prediction loss with regularization and other terms. For example: A model minimizes prediction error plus a size penalty.
Explore this concept
Why it matters
This helps you distinguish a computation’s contract, inputs, outputs, and behavior.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.