GithubHelp home page GithubHelp logo

comp3211's Introduction

COMP 3211

COMP 3211 โ€“ Fundamentals of Artificial Intelligence
2018 Fall, HKUST

Programs by Gerald Liu

Grade: 100%

For reference only, please DO NOT COPY.

Assignment 1

Problem 3: Genetic Programming

Files added: gp/gp.py, gp/gp-example-output.txt

Files moved: gp/gp-training-set.csv

Run python gp/gp.py with Python 3.

An example output can be found with cat ./gp-example-output.txt .

Problem 4 & 5

Files added: pacman-hw1/ECAgentLearning.py, pacman-hw1/ECAgentTrainingData/*

Files edited: pacman-hw1/reactiveAgents.py

Run everything with Python 2.

For Problem 4, run python pacman-hw1/pacman.py --layout smallMap --pacman PSAgent

For Problem 5, run python pacman-hw1/pacman.py --layout smallMap --pacman ECAgent

Assignment 2

Files edited: pacman-hw2/search.py, pacman-hw2/searchAgents.py

Run everything with Python 2.

For Task 1, run

python pacman-hw2/pacman.py -l bigMaze -z .5 -p SearchAgent -a fn=astar,heuristic=manhattanHeuristic

For Task 2, run

python pacman-hw2/pacman.py -l tinyCorners -p SearchAgent -a fn=bfs,prob=CornersProblem

python pacman-hw2/pacman.py -l mediumCorners -p SearchAgent -a fn=bfs,prob=CornersProblem

For Task 3, run

python pacman-hw2/pacman.py -l mediumCorners -p AStarCornersAgent -z 0.5

Assignment 3

Problem 1 & 2

Files edited: pacman-hw3/valueIterationAgents.py, pacman-hw3/qlearningAgents.py

Run everything with Python 2.

For Problem 1, run python pacman-hw3/gridworld.py -a value -i 100 -k 10

For Problem 2, run python pacman-hw3/gridworld.py -a q -k 5 -m

Problem 3 & 4

Files added: kr/lady.py, kr/ranking.py

Run everything with Python 3.

For Problem 3, run python kr/lady.py

For Problem 4, run python kr/ranking.py

comp3211's People

Contributors

gerald-liu avatar

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.