jordanmschall / project3 Goto Github PK
View Code? Open in Web Editor NEWThis is A.I. Berkeley Project 3
This is A.I. Berkeley Project 3
Quick Commands python autograder.py -q q2 python autograder.py -t test_cases/q2/1-bridge-grid Edit Files valueIterationAgents.py = A value iteration agent for solving known MDPs. qlearningAgents.py = Q-learning agents for Gridworld, Crawler and Pacman. analysis.py = A file to put your answers to questions given in the project. Getting Familiar python gridworld.py -m python gridworld.py -h -------------------------------------------------------- -h, --help show this help message and exit -d DISCOUNT, --discount=DISCOUNT Discount on future (default 0.9) -r R, --livingReward=R Reward for living for a time step (default 0.0) -n P, --noise=P How often action results in unintended direction (default 0.2) -e E, --epsilon=E Chance of taking a random action in q-learning (default 0.3) -l P, --learningRate=P TD learning rate (default 0.5) -i K, --iterations=K Number of rounds of value iteration (default 10) -k K, --episodes=K Number of epsiodes of the MDP to run (default 1) -g G, --grid=G Grid to use (case sensitive; options are BookGrid, BridgeGrid, CliffGrid, MazeGrid, default BookGrid) -w X, --windowSize=X Request a window width of X pixels *per grid cell* (default 150) -a A, --agent=A Agent type (options are 'random', 'value' and 'q', default random) -t, --text Use text-only ASCII display -p, --pause Pause GUI after each time step when running the MDP -q, --quiet Skip display of any learning episodes -s S, --speed=S Speed of animation, S > 1.0 is faster, 0.0 < S < 1.0 is slower (default 1.0) -m, --manual Manually control agent -v, --valueSteps Display each step of value iteration -------------------------------------------------------- Reference Files mdp.py Defines methods on general MDPs. learningAgents.py Defines the base classes ValueEstimationAgent and QLearningAgent, which your agents will extend. util.py Utilities, including util.Counter, which is particularly useful for Q-learners. gridworld.py The Gridworld implementation. featureExtractors.py Classes for extracting features on (state,action) pairs. Used for the approximate Q-learning agent (in qlearningAgents.py). Q4 Notes update, computeValueFromQValues, getQValue, and computeActionFromQValues methods. python autograder.py -q q4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.