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
      39 of 88

      Planning for the wrong world

      In “How surprising?”, an outcome with chance p took log2(1/p) yes/no questions to pin down, so likely outcomes are found fast. You set up your questions for the chances planned_chances, but outcomes really happen with true_chances. Write wasted(true_chances, planned_chances): the extra questions per outcome, on average, compared with having planned for the truth.

      true_chances
      AB
      0.50.5
      planned_chances
      AB
      0.990.01
      solution.pyLoading Python
      ← Best question to askScore a forecaster →