Black Friday Sale: 20% off Premium yearly · $105.60 for the first year · until Monday, Nov 30Get it

Deep-ML
Learn
ProblemsPractice, projects, collections, and your progressLearning 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
      ← back to the problem

      Prerequisite path

      Build Bigram Count Matrix from Words

      CodingeasyOpen goal
      Start path
      Whole map

      Dependency network

      100%
      FoundationsGoal
      3 nodes · 2 connections

      After this goal

      • Find Phrases with the Discounted Bigram Score, Pass by Pass
      • Likelihood Vectors: Scoring Next-Word Prediction When the Next Word Is Uncertain
      • Sample Names from a Bigram Language Model
      • Information Theory from Scratch in NumPy: Entropy, KL and Mutual Information
      • Tiny GPT From Scratch