Git Product home page Git Product logo

berkeley-ai-cs188's Introduction

Artificial Intelligence - Berkeley - CS188 (Summer 2016)

These are my solutions to edX Edge Artificial Intelligence - Berkeley CS188-SU16 (Summer 2016) course instructed by Davis Foote and Jacob Andreas. I just want to thank them for this amazing course and for those challenging projects :bowtie:.

Usage 🔩

For projects 0 to 5, it is straightforward to run them locally since they only use Python Standard Library. Just make sure you are using Python 2. However, for the last project, tensorflow library is needed and it might be tricky to install it. For that reason, a Docker image which has all the required dependencies already installed is provided. Check how to use it in Docker section.

If you want to run a single question from a project, use the following commands. Note that QUESTION is q1, q2, up to the number of questions of the project.

git clone https://github.com/EikaNN/Berkeley-AI-CS188.git
cd Berkeley-AI-CS188
cd project1-search
python autograder.py [-q QUESTION]

If you want to run multiple projects, or all the questions from one project, you can use the main.py script that I have implemented. Note that PROJECT is either 0, 1, 2, 3, 4 or 5.

git clone https://github.com/EikaNN/Berkeley-AI-CS188.git
cd Berkeley-AI-CS188
python main.py [-p PROJECT]

Docker 🐳

To run the projects with Docker (again, PROJECT is either 0, 1, 2, 3, 4 or 5):

git clone https://github.com/EikaNN/Berkeley-AI-CS188.git
cd Berkeley-AI-CS188
./docker.sh [-p PROJECT]

Contents 📚

In this section the algorithms that were implemented in each project are listed. For each project, there is a commit with the blank project followed by a commit with all the changes that were made. This way, it is easy to identify what has been implemented. All projects are completed with the maximum score.

Introduction to the grading environment.

Provisional grades
==================
Question q1: 1/1
Question q2: 1/1
Question q3: 1/1
------------------
Total: 3/3

Implementation of DFS (Depth First Search), BFS (Breadth First Search), UCS (Uniform Cost Search) and A* search with heuristics.

Provisional grades
==================
Question q1: 3/3
Question q2: 3/3
Question q3: 3/3
Question q4: 3/3
Question q5: 3/3
Question q6: 3/3
Question q7: 5/4
Question q8: 3/3
------------------
Total: 26/25

Implementation of Minimax, Alpha-Beta Pruning and Expectimax.

Provisional grades
==================
Question q1: 4/4
Question q2: 5/5
Question q3: 5/5
Question q4: 5/5
Question q5: 6/6
------------------
Total: 25/25

Implementation of Q-learning.

Provisional grades
==================
Question q1: 4/4
Question q2: 1/1
Question q3: 5/5
Question q4: 1/1
Question q5: 3/3
Question q6: 4/4
Question q7: 2/2
Question q8: 1/1
Question q9: 1/1
Question q10: 3/3
------------------
Total: 25/25

Implementation of variable elimination and value-of-perfect-information computations for Bayes Nets.

Provisional grades
==================
Question q1: 3/3
Question q2: 3/3
Question q3: 5/5
Question q4: 4/4
Question q5: 4/4
Question q6: 4/4
Question q7: 1/1
Question q8: 4/4
------------------
Total: 28/28

Implementation of exact and approximante inference using Bayes Nets.

Provisional grades
==================
Question q1: 2/2
Question q2: 3/3
Question q3: 3/3
Question q4: 2/2
Question q5: 2/2
Question q6: 3/3
Question q7: 3/3
Question q8: 1/1
Question q9: 3/3
Question q10: 3/3
------------------
Total: 25/25

Implementation of the perceptron algorithm and gradient descent to train neural network classifiers.

Provisional grades
==================
Question q1: 4/4
Question q2: 1/1
Question q3: 1/1
Question q4: 2/2
Question q5: 1/1
Question q6a: 2/2
Question q6b: 1/1
Question q6c: 1/1
Question q7: 1/1
Question q8: 2/2
Question q9: 5/5
Question q10: 4/4
------------------
Total: 25/25

berkeley-ai-cs188's People

Contributors

octavipascual avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

berkeley-ai-cs188's Issues

Kindly requesting you to make this private

As this is a repo which contains solutions to the Berkeley AI CS188 course and the same assignment is used by many other universities and students. It would really be helpful if you can make this private so the solutions are not readily available online. Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.