MCPcopy Create free account

hub / github.com/WilliamLambertCN/CS188-Homework / functions

Functions2,086 in github.com/WilliamLambertCN/CS188-Homework

↓ 8 callersMethodgetScore
(self)
PJ3_reinforcement/pacman.py:176
↓ 8 callersMethodgetWalls
Returns a Grid of boolean wall indicator variables. Grids can be accessed via list notation, so to check if there is a wall
PJ1_search/pacman.py:193
↓ 8 callersMethodinitialize
Creates an initial game state from a layout array (see layout.py).
PJ4_tracking/pacman.py:252
↓ 8 callersMethodisWall
(self, x, y, walls)
PJ2_multiagent/graphicsDisplay.py:590
↓ 8 callersMethodisWall
(self, x, y, walls)
PJ3_reinforcement/graphicsDisplay.py:587
↓ 8 callersMethodisWall
(self, x, y, walls)
PJ1_search/graphicsDisplay.py:557
↓ 8 callersMethodisWall
(self, x, y, walls)
PJ4_tracking/graphicsDisplay.py:556
↓ 8 callersMethodisWin
(self)
PJ2_multiagent/pacman.py:222
↓ 8 callersMethoditerate_once
(self, batch_size)
PJ5_machinelearning/backend.py:51
↓ 8 callersMethodparse
(self)
PJ2_multiagent/testParser.py:35
↓ 8 callersMethodparse
(self)
PJ3_reinforcement/testParser.py:36
↓ 8 callersMethodparse
(self)
PJ1_search/testParser.py:35
↓ 8 callersFunctionsleep
(secs)
PJ3_reinforcement/graphicsUtils.py:52
↓ 7 callersMethodaddMessage
(self, message)
PJ2_multiagent/testClasses.py:198
↓ 7 callersMethodaddMessage
(self, message)
PJ3_reinforcement/testClasses.py:198
↓ 7 callersMethodaddMessage
(self, message)
PJ1_search/testClasses.py:198
↓ 7 callersMethodaddMessage
(self, message)
PJ4_tracking/testClasses.py:228
↓ 7 callersMethodaddPoints
(self, amt)
PJ1_search/grading.py:277
↓ 7 callersMethoddeepCopy
(self)
PJ2_multiagent/game.py:222
↓ 7 callersMethoddeepCopy
(self)
PJ3_reinforcement/game.py:226
↓ 7 callersMethoddeepCopy
(self)
PJ1_search/game.py:213
↓ 7 callersMethoddeepCopy
(self)
PJ4_tracking/game.py:213
↓ 7 callersFunctiondefault
(str)
PJ4_tracking/busters.py:439
↓ 7 callersMethodelapseTime
Predict beliefs in response to a time step passing from the current state. The transition model is not entirely stationary:
PJ4_tracking/inference.py:307
↓ 7 callersMethodgetLegalActions
Returns the legal actions for the agent specified.
PJ1_search/pacman.py:84
↓ 7 callersMethodget_weights
Return a Parameter instance with the current weights of the perceptron.
PJ5_machinelearning/models.py:16
↓ 7 callersMethodisLose
(self)
PJ2_multiagent/pacman.py:219
↓ 7 callersFunctionsquare
(pos, size, color, filled, width)
PJ3_reinforcement/graphicsGridworldDisplay.py:336
↓ 7 callersMethodtestFail
(self, grades)
PJ2_multiagent/testClasses.py:176
↓ 7 callersFunctionwrap_solution
(solution)
PJ1_search/searchTestClasses.py:26
↓ 6 callersMethod__init__
(self, question, testDict)
PJ3_reinforcement/reinforcementTestClasses.py:430
↓ 6 callersMethodaddPoints
(self, amt)
PJ4_tracking/grading.py:277
↓ 6 callersMethodcomputeActionFromValues
The policy is the best action in the given state according to the values currently stored in self.values. You may brea
PJ3_reinforcement/valueIterationAgents.py:98
↓ 6 callersMethodgenerateSuccessor
Returns the successor state after the specified agent takes the action.
PJ1_search/pacman.py:96
↓ 6 callersMethodgenerateSuccessor
Returns the successor state after the specified agent takes the action.
PJ4_tracking/pacman.py:96
↓ 6 callersMethodgetDirection
(self, agentState)
PJ2_multiagent/graphicsDisplay.py:434
↓ 6 callersMethodgetDirection
(self, agentState)
PJ3_reinforcement/graphicsDisplay.py:434
↓ 6 callersMethodgetDirection
(self, agentState)
PJ1_search/graphicsDisplay.py:429
↓ 6 callersMethodgetDirection
(self, agentState)
PJ4_tracking/graphicsDisplay.py:428
↓ 6 callersMethodgetNumAgents
(self)
PJ2_multiagent/pacman.py:174
↓ 6 callersMethodgetNumAgents
(self)
PJ4_tracking/pacman.py:166
↓ 6 callersMethodgetPosition
(self)
PJ3_reinforcement/game.py:163
↓ 6 callersMethodgetPosition
(self)
PJ1_search/game.py:156
↓ 6 callersMethodgetRobotPosition
returns the (x,y) coordinates of the lower-left point of the robot
PJ3_reinforcement/crawler.py:152
↓ 6 callersMethodisTerminal
Only the TERMINAL_STATE state is *actually* a terminal state. The other "exit" states are technically non-terminals with a si
PJ3_reinforcement/gridworld.py:103
↓ 6 callersMethodisWin
(self)
PJ4_tracking/pacman.py:214
↓ 6 callersMethodmute
(self, agentIndex)
PJ2_multiagent/game.py:585
↓ 6 callersMethodmute
(self, agentIndex)
PJ3_reinforcement/game.py:587
↓ 6 callersMethodmute
(self, agentIndex)
PJ1_search/game.py:562
↓ 6 callersMethodmute
(self, agentIndex)
PJ4_tracking/game.py:562
↓ 6 callersMethodnormalize
Normalize the distribution such that the total value of all keys sums to 1. The ratio of values for all keys will remain the same. In
PJ4_tracking/inference.py:55
↓ 6 callersMethodpause
(self)
PJ3_reinforcement/textDisplay.py:37
↓ 6 callersMethodprettyValues
(self, values)
PJ3_reinforcement/reinforcementTestClasses.py:585
↓ 6 callersMethodsample
Draw a random sample from the distribution and return the key, weighted by the values associated with each key. >>> dist = D
PJ4_tracking/inference.py:84
↓ 6 callersMethodsetLivingReward
The (negative) reward for exiting "normal" states. Note that in the R+N text, this reward is on entering a state and therefo
PJ3_reinforcement/gridworld.py:35
↓ 6 callersMethodsetNoise
The probability of moving in an unintended direction.
PJ3_reinforcement/gridworld.py:45
↓ 6 callersMethodsigmoid
(self, x)
PJ3_reinforcement/graphicsCrawlerDisplay.py:39
↓ 6 callersMethodtestFail
(self, grades)
PJ4_tracking/testClasses.py:205
↓ 6 callersMethodtestPass
(self, grades)
PJ3_reinforcement/testClasses.py:170
↓ 6 callersMethodtestPass
(self, grades)
PJ4_tracking/testClasses.py:199
↓ 6 callersFunctionto_screen
(point)
PJ3_reinforcement/graphicsGridworldDisplay.py:343
↓ 6 callersFunctiontrace_node
Returns a set containing the node and all ancestors in the computation graph
PJ5_machinelearning/autograder.py:292
↓ 6 callersMethodupdateDistributions
(self, dist)
PJ4_tracking/textDisplay.py:44
↓ 5 callersMethodasList
(self, key=True)
PJ1_search/game.py:224
↓ 5 callersMethodcomputeValueFromQValues
Returns max_action Q(state,action) where the max is over legal actions. Note that if there are no legal actions, which
PJ3_reinforcement/qlearningAgents.py:58
↓ 5 callersMethoddirectionToVector
(direction, speed=1.0)
PJ3_reinforcement/game.py:347
↓ 5 callersFunctiondrawSquare
(x, y, val, min, max, valStr, action, isObstacle, isTerminal, isCurrent)
PJ3_reinforcement/graphicsGridworldDisplay.py:214
↓ 5 callersMethodfail
Sets sanity check bit to false and outputs a message
PJ2_multiagent/grading.py:273
↓ 5 callersMethodfail
Sets sanity check bit to false and outputs a message
PJ3_reinforcement/grading.py:273
↓ 5 callersMethodfail
Sets sanity check bit to false and outputs a message
PJ1_search/grading.py:268
↓ 5 callersMethodgenerateSuccessor
Returns the successor state after the specified agent takes the action.
PJ3_reinforcement/pacman.py:102
↓ 5 callersMethodgetJailPosition
(self)
PJ4_tracking/inference.py:132
↓ 5 callersMethodgetLegalActions
Returns the legal actions for the agent specified.
PJ4_tracking/busters.py:84
↓ 5 callersMethodgetLegalPacmanActions
(self)
PJ4_tracking/pacman.py:129
↓ 5 callersMethodgetPacmanPosition
(self)
PJ2_multiagent/pacman.py:155
↓ 5 callersMethodgetPossibleActions
Returns list of valid actions for 'state'. Note that you can request moves into walls and that "exit" states transition to t
PJ3_reinforcement/gridworld.py:52
↓ 5 callersMethodgetStartState
(self)
PJ3_reinforcement/gridworld.py:96
↓ 5 callersMethodget_loss
Computes the loss for a batch of examples. Inputs: x: a node with shape (batch_size x 1) y: a node with shap
PJ5_machinelearning/models.py:89
↓ 5 callersMethodisWall
(self, pos)
PJ4_tracking/layout.py:67
↓ 5 callersMethodisWin
(self)
PJ3_reinforcement/pacman.py:221
↓ 5 callersFunctionmanhattanDistance
Returns the Manhattan distance between points xy1 and xy2
PJ2_multiagent/util.py:230
↓ 5 callersFunctionmoveCircle
(id, pos, r, endpoints=None)
PJ2_multiagent/graphicsUtils.py:210
↓ 5 callersFunctionmoveCircle
(id, pos, r, endpoints=None)
PJ3_reinforcement/graphicsUtils.py:214
↓ 5 callersFunctionmoveCircle
(id, pos, r, endpoints=None)
PJ1_search/graphicsUtils.py:203
↓ 5 callersFunctionmoveCircle
(id, pos, r, endpoints=None)
PJ4_tracking/graphicsUtils.py:203
↓ 5 callersMethodpop
Pop the most recently pushed item from the stack
PJ3_reinforcement/util.py:3634
↓ 5 callersMethodprettyValueSolutionString
(self, name, pretty)
PJ3_reinforcement/reinforcementTestClasses.py:402
↓ 5 callersMethodpush
(self, item, priority)
PJ1_search/util.py:184
↓ 5 callersFunctionraiseNotDefined
()
PJ4_tracking/util.py:453
↓ 5 callersMethodrun
Calculates the score assigned by the perceptron to a data point x. Inputs: x: a node with shape (1 x dimensions)
PJ5_machinelearning/models.py:22
↓ 5 callersFunctionsleep
(secs)
PJ2_multiagent/graphicsUtils.py:48
↓ 5 callersFunctionsleep
(secs)
PJ1_search/graphicsUtils.py:48
↓ 5 callersFunctionsleep
(secs)
PJ4_tracking/graphicsUtils.py:48
↓ 5 callersMethodtotal
Return the sum of values for all keys.
PJ4_tracking/inference.py:49
↓ 5 callersMethodtrain
Trains the model.
PJ5_machinelearning/models.py:302
↓ 5 callersMethodupdate
(self, item, priority)
PJ3_reinforcement/util.py:3689
↓ 4 callersMethod__isAllowed
(self, y, x)
PJ3_reinforcement/gridworld.py:174
↓ 4 callersMethod_encode
(self, inp_x, inp_y)
PJ5_machinelearning/backend.py:344
↓ 4 callersMethodaddPoints
(self, amt)
PJ2_multiagent/grading.py:282
↓ 4 callersMethodaddPoints
(self, amt)
PJ3_reinforcement/grading.py:282
← previousnext →101–200 of 2,086, ranked by callers