Skip to content

nathanShepherd/Gym_Solved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithmic Solutions for Open AI Gym

Using machine learning and computer science fundamentals to solve Open AI Gym problems.

reinforcement_learning

policy: input_frame --> output_action

update policy on done:

if success:
	increase probability of action
	sequence given observations
else:
	decrease P(act | obs)

cons:
	sample innefficiency
	sparse rewards

solutions to cons:
	reward shaping 
		- manual and can be misleading
		- can result in local minimum
		- specifically a hard problem

	solve auxilary supervised taks: (DeepMind)
		- Most valuable feature(s) extraction 
		--> Maximize subset of features total change

		- Reward prediction (current state)
		--> Determine reward for an input 
		--> given previous sequence of input

		- Value function replay (total future states)
		--> Determine E[Reward] of all future states

	state dynamics (Markov Model):
		- E[next_state] given the current state and action
		- Utilize state exploration 
		- for states with uncertertain reward

	hindsight experience replay:
		- Learn from any epoch (even if unsuccessfull)
		--> The goal for each epoch:
		--> 	sequence of (s, a) that lead to final state
		--> Goals are stored in experience buffer
		--> Each episode tries to reach a specific goal

	model-free learning (Q-Learning):
		- Store combinations of states and actions in Q
		- Estimate discounted future reward at terminal
		- Update Q[state][action] with actual reward

About

Using machine learning and computer science fundamentals to solve Open AI Gym problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages