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

      Twenty jelly beans

      You run tests separate tests on things that are really pure luck, and flag any test whose surprise (from “Is it luck?”) comes out below your threshold. On pure luck, a test gets flagged with chance equal to the threshold. Write threshold(tests, overall): the threshold for each test, so that the chance of any false alarm across all of them stays at overall, like 0.05.

      tests: 20 jelly bean colours
      20
      overall: a 5% chance of any false alarm
      0.05
      solution.pyLoading Python
      ← Is it luck?Better than guessing the average? →