You're working on a project where you need to predict the next word in a sentence based on the previous words. Which type of neural network architecture would be most appropriate for this task?

  • Recurrent Neural Network (RNN)
  • Convolutional Neural Network (CNN)
  • Long Short-Term Memory (LSTM)
  • Gated Recurrent Unit (GRU)
A Long Short-Term Memory (LSTM) is well-suited for this task because it can capture long-term dependencies in sequential data, making it effective for predicting the next word based on previous words in a sentence.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *