title: Number of neurons for LSTM
body: <h2>There are 5 input features indicated by true/false and independent of each other</h2>
  
  <p>train_X = [[TRUE, TRUE, FALSE, FALSE,FALSE]]</p>
  
  <p>train_X = train_X.reshape((train_X.shape[0], 1, train_X.shape[1]))</p>
  
  <h2>Expected output 5 true/false output independent of each other</h2>
  
  <p>[[TRUE, FALSE, TRUE, FALSE,FALSE]]</p>
  
  <h2>Is below the correct way to define model for training? Input 5, Output 5?</h2>
  
  <pre><code>model = Sequential()
  model.add(LSTM(5, input_shape=(train_X.shape[1], train_X.shape[2])   ))
  model.add(Dense(5, activation='relu'))
  model.compile(loss = 'binary_crossentropy', optimizer='adam')
  </code></pre>