Code Monkey home page Code Monkey logo

grid-world-maple-2's Introduction

Agent enters the State (Node) Agent pulls up the Q-Value List for that State Agent Picks a Q-Value (Highest) and tells the State the corresponding action State pulls up the Action List and finds the Action Action list has 4 Actions for this particular domain N, S, E, W State finds the “golden range” for the action to run correctly Generate a Random Number, and checks the range according to that action Finds the range that matches and checks out the corresponding Next State Moves the Agent to that new State Agent then receives a reward based on the action done Agent and/or State updates the Q-Value for that action chosen by agent.

So if the agent chooses to go north from (S4), it should end up in (S1). The action north contains a chart which shows it having an 70% of it going north (0.0 -> 0.7) and 10% for east, south, and west each. The State creates a random variable and the value is 0.46. Therefore the State looks for a match in the corresponding ranges (0.0 -> 0.7) and return the Outcome (S1). The agent is transferred from (S4) to (S1) and returns the Reward and the State to the agent. The Agent updates its reward value and the State S4 updates the Q-Value for North.

grid-world-maple-2's People

Contributors

bhuvanabellala1 avatar tenji240 avatar aduff64 avatar

Watchers

James Cloos avatar  avatar  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.