Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShangtongZhang/reinforcement-learning-an-introduction
/ functions
Functions
359 in github.com/ShangtongZhang/reinforcement-learning-an-introduction
⨍
Functions
359
◇
Types & classes
46
Function
behavior_policy_player
(usable_ace_player, player_sum, dealer_card)
chapter05/blackjack.py:34
Method
cost_per_ep_hist
(self)
chapter12/lambda_effect.py:961
Method
cost_per_ep_hist
(self)
chapter12/lambda_effect.py:1083
Method
cost_to_go
(self, position, velocity)
chapter12/mountain_car.py:220
Method
draw
(self)
chapter12/lambda_effect.py:871
Function
dutch_trace
(trace, active_tiles, lam, alpha)
chapter12/mountain_car.py:149
Method
empty
(self)
chapter08/maze.py:263
Method
episode_end
(self, last_reward)
chapter13/short_corridor.py:138
Method
error_hist
(self)
chapter12/lambda_effect.py:246
Method
error_hist
(self)
chapter12/lambda_effect.py:322
Method
expected_return_pe
(self, policy, values, state)
chapter04/car_rental_synchronous.py:179
Method
expected_return_pi
(self, values, action, state)
chapter04/car_rental_synchronous.py:186
Method
feed
(self, state, action, next_state, reward)
chapter08/maze.py:182
Method
feed
(self, state, action, next_state, reward)
chapter08/maze.py:275
Method
full
(self)
chapter10/access_control.py:35
Method
full
(self)
chapter10/mountain_car.py:34
Method
fullp
(self)
chapter12/lambda_effect.py:78
Method
get_active_features
Get an array containing the id of the current active feature.
chapter12/lambda_effect.py:270
Method
get_active_features
Get an array containing the ids of the current active features.
chapter12/lambda_effect.py:433
Method
get_active_features
Get an array containing the ids of the current active features.
chapter12/lambda_effect.py:1005
Method
get_p_right
(self)
chapter13/short_corridor.py:95
Function
get_puddle_world_map
Creates the puddle world map and save the figure in the local folder as a .png file.
chapter12/lambda_effect.py:1094
Method
height
(self)
chapter12/lambda_effect.py:808
Method
is_state_valid
(self, state)
chapter12/lambda_effect.py:563
Method
is_state_valid
(self, state)
chapter12/lambda_effect.py:649
Method
learn
(self, state, reward)
chapter12/random_walk.py:72
Method
learn
(self, state, reward)
chapter12/random_walk.py:127
Method
learn
(self, state, reward)
chapter12/random_walk.py:149
Method
n_failures
(self)
chapter12/lambda_effect.py:633
Method
n_failures
(self)
chapter12/lambda_effect.py:779
Method
n_step_hist
(self)
chapter12/lambda_effect.py:401
Method
n_step_hist
(self)
chapter12/lambda_effect.py:529
Method
new_episode
(self)
chapter12/random_walk.py:66
Method
new_episode
(self)
chapter12/random_walk.py:141
Function
on_policy
(task, eval_interval)
chapter08/trajectory_sampling.py:95
Function
prioritized_sweeping
(q_value, model, maze, dyna_params)
chapter08/maze.py:340
Function
replacing_trace
(trace, activeTiles, lam)
chapter12/mountain_car.py:124
Function
replacing_trace_with_clearing
(trace, active_tiles, lam, clearing_tiles)
chapter12/mountain_car.py:136
Method
reset
(self)
chapter01/tic_tac_toe.py:187
Method
reset
(self)
chapter01/tic_tac_toe.py:269
Method
run_sarsa_lambda
Apply Sarsa(λ) algorithm. (p.305) :param env: environment to interact with. :param n_episodes: number of episodes to train on.
chapter12/lambda_effect.py:437
Method
run_sarsa_lambda
Apply Sarsa(λ) algorithm. (p.305) :param env: environment to interact with. :param n_episodes: number of episodes to train on.
chapter12/lambda_effect.py:1009
Method
sample
(self)
chapter08/maze.py:190
Method
sample
(self)
chapter08/maze.py:267
Method
set_state
(self, state)
chapter01/tic_tac_toe.py:272
Method
set_symbol
(self, symbol)
chapter01/tic_tac_toe.py:275
Function
softmax
(x)
chapter13/short_corridor.py:60
Method
step
(self, state, action)
chapter12/lambda_effect.py:214
Method
step
(self, state, action)
chapter12/lambda_effect.py:350
Method
step
(self, state, action)
chapter12/lambda_effect.py:920
Function
target_policy
(state)
chapter11/counterexample.py:47
Function
target_policy
()
chapter05/infinite_variance.py:22
Function
tileswrap
Returns num-tilings tile indices corresponding to the floats and ints, wrapping some floats
chapter12/lambda_effect.py:122
Function
uniform
(task, eval_interval)
chapter08/trajectory_sampling.py:75
Method
update
(self, delta, state)
chapter09/random_walk.py:138
Method
update
(self, delta, state)
chapter09/random_walk.py:177
Method
value
(self, state)
chapter09/random_walk.py:126
Method
value
(self, state)
chapter09/random_walk.py:170
Method
width
(self)
chapter12/lambda_effect.py:812
← previous
301–359 of 359, ranked by callers