What does zeta represent in the critic method? I believe it keeps track of the state-action pairs and represents eligibility traces, which are a temporary record of the state-actions, but what exactly does zeta represent and how does it look in c++ (e.g. vector of doubles)?
Zeta Variable of SARSA(lamda)
119 Views Asked by anon At
1
There are 1 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in MACHINE-LEARNING
- How to cluster a set of strings?
- Enforcing that inputs sum to 1 and are contained in the unit interval in scikit-learn
- scikit-learn preperation
- Spark MLLib How to ignore features when training a classifier
- Increasing the efficiency of equipment using Amazon Machine Learning
- How to interpret scikit's learn confusion matrix and classification report?
- Amazon Machine Learning for sentiment analysis
- What Machine Learning algorithm would be appropriate?
- LDA generated topics
- Spectral clustering with Similarity matrix constructed by jaccard coefficient
- Speeding up Viterbi execution
- Memory Error with Classifier fit and partial_fit
- How to find algo type(regression,classification) in Caret in R for all algos at once?
- Difference between weka tool's correlation coefficient and scikit learn's coefficient of determination score
- What are the approaches to the Big-Data problems?
Related Questions in REINFORCEMENT-LEARNING
- Named entity recognition with a small data set (corpus)
- how can get SARSA code for gridworld model in R program?
- Incorporating Transition Probabilities in SARSA
- Minibatching in Stochastic Gradient Descent and in Q-Learning
- Connecting Python + Tensorflow to an Emulator in C++
- How to generate all legal state-action pairs of connect four?
- exploration and exploitation in Q-learning
- Counterintuitive results on multi-armed bandit exercise
- Deep neural network diverges after convergence
- Reinforcement learning algorithms for continuous states, discrete actions
- multiply numbers on all paths and get a number with minimum number of zeros
- Reinforcement learning in netlogo
- Parametrization of sparse sampling algorithms
- Function approximator and q-learning
- [Deep Q-Network]How to exclude ops at auto-differential of Tensorflow
Related Questions in SARSA
- how can get SARSA code for gridworld model in R program?
- Incorporating Transition Probabilities in SARSA
- Reward calculation for a SARSA model to reduce traffic congestion
- SARSA implementation with tensorflow
- Converting to Python scalars
- Implementing Sarsa(lambda) - Gridworld - in Julia language
- How to prevent the eligibility trace in SARSA with lambda = 1 from exploding for state-action pairs that are visited a huge number of times?
- Sarsa with neural network to solve the Mountain Car Task
- Episodic Semi-gradient Sarsa with Neural Network
- Helipad Co-ordinates of LunarLander v2 openai gym
- Implementing SARSA from Q-Learning algorithm in the frozen lake game
- is this true ? what about Expected SARSA and double Q-Learning?
- Implementing SARSA in Unity
- Zeta Variable of SARSA(lamda)
- Why is there no n-step Q-learning algorithm in Sutton's RL book?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Like you already stated, zeta represents the eligibility traces. This can intuitively be understood as containing a "decayed mix of all the state-action feature vectors encountered in all the previous timesteps". It's a trace of things we saw previously, and therefore things we should also give a little bit of credit to for rewards we observe now.
More formally, it's just something that's required if you want to write incremental implementations (with computation time spread out evenly over all of your timesteps) of RL algorithms that, when written in a more straightforward/obvious/naive way, can only be implemented in a non-incremental manner because they have update rules that require information from all timesteps in your episode (e.g. lambda-returns / Monte Carlo returns). That probably sounds rather complicated, it's probably better to stick to the intuitive explanation though.
As for how it would look in C++, yes, pretty much a vector of doubles. The "
z \in R^d" right before the first line of code in the image means exactly that, it's ad-dimensional vector of real numbers (doubles or floats in C++), wheredis the dimensionality of your state-action feature vectors (phi).You can also tell that it has to be a
d-dimensional vector by the fact that it needs to be added to otherd-dimensional vectors (phiandtheta) in a couple of other places in the pseudocode. That can only work out correctly mathematically if zeta itself is also ad-dimensional vector.