Predictions

Create word predictions based on the output of your LSTM model.

Chapter Goals:

  • Calculate softmax probabilities to make predictions for each time step

A. Calculating probabilities

When using a feed-forward neural network for multiclass predictions, we first need to convert the model's logits into probabilities with the softmax function. For an RNN ...