Skip to main content
Share Your Experience: Take the 2024 Developer Survey
24 votes
Accepted

How to define states in reinforcement learning?

The problem of state representation in Reinforcement Learning (RL) is similar to problems of feature representation, feature selection and feature engineering in supervised or unsupervised learning. ...
Neil Slater's user avatar
  • 32.5k
12 votes

How to define states in reinforcement learning?

A common early approach to modeling complex problems was discretization. At a basic level, this is splitting a complex and continuous space into a grid. Then you can use any of the classic RL ...
John Doucette's user avatar
5 votes
Accepted

How should I represent the input to a neural network for the games of tic-tac-toe, checkers or chess?

When you are working with neural networks, as long as the data is there, the neural network is usually able to learn how to process it into a useful result. However, you usually also want to keep the ...
Aiden Grossman's user avatar
3 votes
Accepted

How can my Q-learning agent trained to solve a specific maze generalize to other mazes?

I'm going to assume here that you're using the standard, basic, simple variant of $Q$-learning that can be described as tabular $Q$-learning, where all of your state-action pairs for which you're ...
Dennis Soemers's user avatar
  • 10.3k
3 votes

How should I represent the input to a neural network for the games of tic-tac-toe, checkers or chess?

The basis of reinforcement learning methods is to give each (game) state (or action) a value that somehow represents how good that state (or action) is. To store these values we could use something as ...
Hai Nguyen's user avatar
2 votes

How should I represent the input to a neural network for the games of tic-tac-toe, checkers or chess?

Representation of states is very important to prepare the data for the neural networks. You can try a different way and pick which fit best in your case. You can use 18 neurons as input where each ...
Ankish Bansal's user avatar
1 vote

How to manage impossible actions?

You could code your agent's policy to never select impossible actions. Your other question implies that you are writing your own behaviour policy function (e.g. you asked about implementing a softmax ...
Neil Slater's user avatar
  • 32.5k

Only top scored, non community-wiki answers of a minimum length are eligible