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

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


Pick a plan that suits you the best!

Monthly Subscription

(billed monthly)

Annual Subscription

(billed annually)

All our plans includes:

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