Dynamic Programming
Level 3
Coming soon
This lesson is being written. Explore the graph meanwhile.
You will need
- RecursionRecursion solves a problem by having a function call itself on a smaller version of the problem, stopping at a base case that needs no further calls.
- Recurrence RelationComing soon
- Big-O NotationBig-O notation describes how an algorithm's cost grows as its input grows, ignoring constant factors, so you can compare methods before you run them.
- Hash TableComing soon
Unlocks
- Bellman EquationThe Bellman equation says a state's best value equals the best immediate reward plus the discounted best value of the state you land in, which turns a long-horizon decision into a chain of one-step decisions.
- Edit DistanceComing soon
- Incomplete Markets ModelComing soon
- Do As I Can, Not As I Say: Grounding Language in Robotic AffordancesSayCan scores each robot skill twice: a language model rates whether the skill fits the instruction, and a learned value function rates whether the robot can do it now.
- Subword TokenizationSubword tokenization splits text into pieces that are more common than characters and smaller than words, so a model can read any text with a fixed vocabulary.
- Value FunctionA value function scores each state, or each state-action pair, by the expected total reward an agent gets from there if it keeps following its policy.