Comparing the algorithm’s predictions with the actual results happens during the:

answer
The correct answer is 2: the cost function. After making a prediction in the form of a line, the algorithm measures the distance between the prediction and the actual data, adds up the mistakes, and averages them.
Part of the course

Try it out

00:00
00:00

Pick a plan that suits you the best!

Monthly Subscription

$12/month
(billed monthly)

Annual Subscription

$5/month 
(billed annually)

All our plans includes:

  • High quality audio lessons
  • Lesson summaries
  • Interactive questions
  • Learn & Earn
  • Flashcards
  • Lesson transcripts
  • Learning community