Pages

Sep 23, 2015

Elements of Reinforcement Learning

Elements of reinforcement learning:

  • a policy: is a mapping from perceived states of the environment to actions to be taken when in those states.
  • a reward function: defines the goal in a reinforcement learning problem. iIt maps each perceived state (or state-action pair) of the environment to a single number, a reward, indicating the intrinsic desirability of that state.
  • a value function: specifies what is good in the long run. The value of a state is the total amount of reward an agent can expect to accumulate over the future, starting from that state.
  • a model (optional)

reference: Reinforcement Learning: An Introduction, Richard S. Sutton and Andrew G. Barto

Sep 15, 2015

Install Maven on OSX causes Error

If you get error "Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0" when installing Maven on mac, try the following command (make sure you modify the version of jdk on your computer):
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home 

Great Latex syntax query website

You can just draw the sign you want for Latex.
 

http://detexify.kirelabs.org/classify.html