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
      9 of 102

      Who did better?

      Write standout(score, class_scores): how unusual a score is in its own class. 0 means exactly average, positive means above, negative below. Ana got 80 in a class that averaged 70, with marks all over the place. Ben got 90 in a class that averaged 85, everyone bunched together. Who did better?

      Two classes took the same test, out of 100. Ana got 80; her class’s marks are all over the place. Ben got 90; his class is bunched together.

      Ana’s class: Ana got 80Ana stands out by?Ben’s class: Ben got 90Ben stands out by?
      click a mark to see its gap from the averagewho did better? standout() says how unusual each mark is
      Your functionstandout(score, class_scores)
      scoreone student's marke.g. 70
      class_scoresevery mark in their class, theirs includede.g. [60, 70, 80]
      returnshow unusual it is: 0 = average, positive = above
      solution.pyLoading Python
      Sign in for an AI hint
      ← How spread out?How sure is the average? →