AI engineering glossary · Calculus optimisation

What is function?

Function: A rule that assigns exactly one output to each allowed input. Written f(x), it describes how one quantity depends on another. Calculus studies how such rules change, and machine learning models are ultimately large rules mapping inputs to predictions.

Level: beginnerTopic: Calculus optimisation

Function: an example

f(x) = 3x + 2 maps x = 4 to 14. A model that predicts a house price in lakhs from its area in square feet is a function of that area.

Related terms

More Calculus optimisation terms

Where you learn it

Function is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.