Algorithm
What is Algorithm?
In one sentence: An algorithm is a step-by-step set of instructions for solving a problem or doing a task.
A recipe for cookies is an algorithm: follow the steps in order and you get cookies. In AI, algorithms describe how a model learns, such as how it adjusts its numbers after a mistake. The algorithm is the method; the model is what you get after using that method on data.
What does Algorithm look like?
Gradient descent is an algorithm that tells a model how to change its numbers to make fewer mistakes.
Why does Algorithm matter?
Every piece of software, including AI, is built from algorithms.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/algorithm/">Algorithm, explained simply</a> (The AI Math Dictionary)