Spooky Sale: 10% off Premium yearly · $118.80 for the first year · until Nov 6Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      Intuition
      46 of 88

      Better than guessing the average?

      A model predicts a lemonade stand’s daily sales. Write fit_score(actual, predicted): one score for the predictions. 1 means perfect; 0 means no better than always guessing the average of actual. Misses are measured as squared errors, as in “How wrong is the forecast?”.

      actual sales ($)
      MonTueWedThu
      2468
      predicted
      MonTueWedThu
      3459
      solution.pyLoading Python
      ← Twenty jelly beansGrade a spam filter →