Follow the story from mechanical calculators to today’s chatbots, and explore the ideas through interactive examples.
In this learning example, you show the machine many examples and their correct answers. The machine compares its prediction with the correct answer and changes its numerical settings; it uses those settings for the next prediction.
It uses labeled examples that pair an input x with its correct answer y; a loss function calculates an error score for the prediction. Gradient descent updates the model’s numerical settings (the parameters θ) to try to reduce this score; f(x; θ) is the prediction produced for input x.
Simple explains the idea through examples; Technical adds calculations and symbols. You can switch between the two explanations whenever you like.
If something is unclear: Note the concept or step you’re stuck on. Change an input in the Simple example and observe the result again; then read the relevant Technical explanation and any further-reading box. If needed, search the term with “worked example.” When consulting university teaching materials or official documentation, check the author, date and assumptions, then compare the worked steps with this illustration.
{{ mod.subtitle }}
Simple explains the idea through examples; Technical adds calculations and symbols. You can switch between the two explanations whenever you like.
{{ p.text }}
{{ fp }}
{{ learnBody }}
{{ learnQuestion }}
{{ intel.desc }}
{{ intelCondition }}
{{ cycleActiveText }}
{{ cyclePart.desc }}
{{ m.t }}
{{ s.name }}
{{ s.values }}
{{ s.gradient }}
{{ bpExplorationFormula }}
{{ rnnHeading }}
{{ rnnInputContributionLabel }}: {{ rnnInputContribution }}
{{ rnnBounds }}
{{ ganBounds }}
{{ ganStageText }}
{{ ganSourceLabel }}: {{ c.source }}
{{ ganRoleQuestion }}
{{ ganFeedback }}
{{ ganPath }}
{{ learnLocalText }}
{{ n.t }}
{{ neOluyor }}
{{ p.text }}
{{ fp }}
{{ q.optFb }}
{{ q.exp }}