[D] Approach to taking variable-length player action history as model input?
I’m trying to build a deep learning model for playing a particular game where previous action history is crucial in deciding future actions. I’m wondering if any of you have any tips for how best to encode this history of actions; for this example lets say that there are a set of actions that each player can perform, some of which have another player as a target, and some of which don’t. I was thinking about doing one-hot encoding for action type along with a static player ID number, then feeding the entire history into an LSTM. Are there any better ways?