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

      A reward now or later

      A move in a game brings rewards over the coming steps. A reward you get one step later is worth patience (between 0 and 1) of the same reward right now: you have to wait for it, and things can go wrong on the way. Write worth(rewards, patience): what the whole list of rewards is worth right now.

      rewards
      now+1 step+2 steps
      0010
      patience
      0.9
      solution.pyLoading Python
      ← A small change to a big matrixDon’t wait for the end →