Skip to content

CS188 Introduction to Artificial Intelligence - Project Code

Notifications You must be signed in to change notification settings

szzxljr/CS188_Course_Projects

Repository files navigation

Artificial-Intelligence - Berkeley-CS188

Learned about search problems (A*, CSP, minimax), reinforcement learning, bayes nets, hidden markov models, and machine learning.

Project 1 Search

Implemented Depth First Search, Breadth First Search, Uniform Cost Search, and A* Search. Created different heuristics. Helped pacman agent find shortest path to eat all dots.

UI V2

UI V2

UI V2

UI V2

UI V2

UI V2

Project 2 Multi-Agent Search

Created basic reflex agent based on a variety of parameters. Improved agent to use minimax algorithm (with alpha-beta pruning). Implemented expectimax for random ghost agents. Improved evaluation function for pacman states.

UI V2

UI V2

Project 3 Reinforcement Learning

Worked with Markov Decision Processes. Started with value iteration agent. Then, worked on changing noise and discount parameters to enact different policies. Built Q-Learning agent and an Epsilon Greedy agent. Then, used reinforcement learning to approximate Q-Values.

UI V2

UI V2

UI V2

UI V2

UI V2

UI V2

Project 4 Bayes Nets

Implemented inference algorithms for Bayes Nets, specifically variable elimination and value-of-perfect-information computations, which reasons about the existence of invisible pellets and ghosts. The project includes constructing bayes nets, jointing factors, implemting variable elimination, normalization, marginal inference and value of perfect information.

UI V2

Project 5 Ghostbusters

Updated belief distribuition of ghost agents based on sequential noise readings and distribution of future ghost agent states. Moved pacman based on closest likely ghost location. Then, used particle filtering to achieve the same result. Finally, implemented joint particle filtering algorithm with multiple reactive ghosts.

UI V2

UI V2

UI V2

UI V2

UI V2

UI V2

UI V2

UI V2

Project 6 Machine Learning

Implemented a standalone perceptron. Built a mini-library for constructing and training neural networks. Built and trained several neural network to approximate sin(x), do digit classification, reinforcement learning and language identification.

UI V2

UI V2

UI V2

UI V2

About

CS188 Introduction to Artificial Intelligence - Project Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages