Assignment code for UC Berkeley CS 188 Artificial Intelligence.
For open course material in edX, using this class: BerkeleyX: CS188.1x Artificial Intelligence
- Project 0: Python Refresher
- Project 1: Search (Python 3 Version)
- Lecture 2: Uninformed Search
- Quiz 1: Planning Agents vs. Reflex Agents
- Quiz 2: Safe Passage
- Quiz 3: State Space Graphs and Search Trees
- Quiz 4: Depth-First Tree Search
- Quiz 5: Depth-First Tree Search: Space and Time Complexity
- Quiz 6: Breadth-First Tree Search
- Quiz 7: Breadth-First Tree Search: Space and Time Complexity
- Quiz 9: Which Search Algorithm?
- Quiz 10: Which Search Algorithm?
- Quiz 11: Uniform Cost Search
- Quiz 12: Which Search Algorithm?
- Quiz 13: Which Search Algorithm?
- Lecture 3: Informed Search
- Quiz 1: Search Execution
- Quiz 2: Greedy Search
- Quiz 3: A* Tree Search
- Quiz 4: A* Tree Search
- Quiz 5: Which Search Algorithm?
- Quiz 6: Which Search Algorithm?
- Quiz 7: Which Search Algorithm?
- Quiz 8: Which Search Algorithm?
- Quiz 9: Which Search Algorithm?
- Quiz 10: Admissible Heuristics
- Quiz 11: Combining Heuristics
- Quiz 12: Consistency
- Lecture 4: CSPs
- Lecture 5: CSPs II
- Lecture 6: Adversarial Search
- Lecture 7: Uncertainty and Utilities
- Lecture 8: Markov Decision Processes
- Lecture 9: Markov Decision Processes II
- Lecture 10: Reinforcement Learning
- Lecture 11: Reinforcement Learning II
- Homework 1 - Search
- Question 1: Search Trees
- Question 2: Depth-First Graph Search
- Question 3: Breadth-First Graph Search
- Question 4: A* Graph Search
- Question 5: Hive Minds: Lonely Bug
- Question 6: Hive Minds: Swarm Movement
- Question 7: Hive Minds: Migrating Birds
- Question 8: Hive Minds: Jumping Bug
- Question 9: Hive Minds: Lost at Night
- Question 10: Early Goal Checking Graph Search
- Question 11: Lookahead Graph Search
- Question 12: Memory Efficient Graph Search
- Question 13: A*-CSCS
- Homework 1 - Search (Practice)
- Question 1: Search Trees
- Question 2: Depth-First Graph Search
- Question 3: Breadth-First Graph Search
- Question 4: A* Graph Search
- Question 5: Hive Minds: Lonely Bug
- Question 6: Hive Minds: Swarm Movement
- Question 7: Hive Minds: Migrating Birds
- Question 8: Hive Minds: Jumping Bug
- Question 9: Hive Minds: Lost at Night
- Question 10: Early Goal Checking Graph Search
- Question 11: Lookahead Graph Search
- Question 12: Memory Efficient Graph Search
- Question 13: A*-CSCS
- Homework 2 - CSPs
- Homework 2 - CSPs (Practice)
- Homework 3 - Games
- Question 1: Minimax
- Question 2: Expectiminimax
- Question 3: Unknown Leaf Value
- Question 4: Alpha-Beta Pruning
- Question 5.1: Non-Zero-Sum Games
- Question 5.2: Properties of Non-Zero-Sum Games
- Question 6: Possible Pruning
- Question 7: Suboptimal Strategies
- Question 8: Shallow Search
- Question 9: Rationality of Utilities
- Question 10: Certainty Equivalent Values
- Question 11: Preferences and Utilities
- Homework 3 - Games (Practice)
- Question 1: Minimax
- Question 2: Expectiminimax
- Question 3: Unknown Leaf Value
- Question 4: Alpha-Beta Pruning
- Question 5.1: Non-Zero-Sum Games
- Question 5.2: Properties of Non-Zero-Sum Games
- Question 6: Possible Pruning
- Question 7: Suboptimal Strategies
- Question 8: Shallow Search
- Question 9: Rationality of Utilities
- Question 10: Certainty Equivalent Values
- Question 11: Preferences and Utilities
- Homework 4 - MDPs
- Question 1: Solving MDPs
- Question 2: Value Iteration Convergence Values
- Question 3: Value Iteration: Cycle
- Question 4: Value Iteration: Properties
- Question 5: Value Iteration: Convergence
- Question 6: Policy Evaluation
- Question 7: Policy Iteration
- Question 8: Policy Iteration: Cycle
- Question 9: Wrong Discount Factor
- Question 10: MDP Properties
- Question 11: Policies
- Homework 4 - MDPs (Practice)
- Question 1: Solving MDPs
- Question 2: Value Iteration Convergence Values
- Question 3: Value Iteration: Cycle
- Question 4: Value Iteration: Properties
- Question 5: Value Iteration: Convergence
- Question 6: Policy Evaluation
- Question 7: Policy Iteration
- Question 8: Policy Iteration: Cycle
- Question 9: Wrong Discount Factor
- Question 10: MDP Properties
- Question 11: Policies
- Homework 5 - Reinforcement Learning
- Question 1: Model-Based RL: Grid
- Question 2: Model-Based RL: Cycle
- Question 3: Direct Evaluation
- Question 4: Temporal Difference Learning
- Question 5: Model-Free RL: Cycle
- Question 6: Q-Learning Properties
- Question 7: Exploration and Exploitation
- Question 8: Feature-Based Representation: Actions
- Question 9: Feature-Based Representation: Update
- Homework 5 - Reinforcement Learning (Practice)
- Question 1: Model-Based RL: Grid
- Question 2: Model-Based RL: Cycle
- Question 3: Direct Evaluation
- Question 4: Temporal Difference Learning
- Question 5: Model-Free RL: Cycle
- Question 6: Q-Learning Properties
- Question 7: Exploration and Exploitation
- Question 8: Feature-Based Representation: Actions
- Question 9: Feature-Based Representation: Update
- Practice I
- Question 1: Search
- Question 2: Hive Minds
- Question 3: CSPs: Time Management
- Question 4: Surrealist Pacman
- Question 5: MDPs: Grid-World Water Park
- Question 6: Short Answer: Search
- Question 7: Short Answer: Iterative Deepening
- Question 8: Short Answer: Dominance
- Question 9: Short Answer: Heuristics
- Question 10: Short Answer: CSP
- Question 11: Short Answer: Games
- Practice I (Practice)
- Question 1: Search
- Question 2: Hive Minds
- Question 3: CSPs: Time Management
- Question 4: Surrealist Pacman
- Question 5: MDPs: Grid-World Water Park
- Question 6: Short Answer: Search
- Question 7: Short Answer: Iterative Deepening
- Question 8: Short Answer: Dominance
- Question 9: Short Answer: Heuristics
- Question 10: Short Answer: CSP
- Question 11: Short Answer: Games
- Practice II
- Question 1: Search
- Question 2: Search: Heuristic Function Properties
- Question 3: Search: Slugs
- Question 4: Value Functions
- Question 5: CSPs: CS188x Offices
- Question 6: CSP Properties
- Question 7: Games: Alpha-Beta Pruning
- Question 8: Utilities: Low/High
- Question 9: MDPs and Reinforcement Learning: Mini-Grids
- Practice II (Practice)
- Question 1: Search
- Question 2: Search: Heuristic Function Properties
- Question 3: Search: Slugs
- Question 4: Value Functions
- Question 5: CSPs: CS188x Offices
- Question 6: CSP Properties
- Question 7: Games: Alpha-Beta Pruning
- Question 8: Utilities: Low/High
- Question 9: MDPs and Reinforcement Learning: Mini-Grids
- Practice III
- Practice III (Practice)
- Exam
- Question 1: Pacman's Tour of San Francisco
- Question 2: Missing Heuristic Values
- Question 3: PAC-CORP Assignments
- Question 4: k-CSPs
- Question 5: One Wish Pacman
- Question 6: AlphaBetaExpinimax
- Question 7: Lotteries in Ghost Kingdom
- Question 8: Indecisive Pacman
- Question 9: Reinforcement Learning
- Question 10: Potpourri