title: TypeError: ('Keyword argument not understood:', 'Dropout')
body: <p>I am training my model on LSTM using <code>keras</code> library.
  Although I have imported the <code>Dropout</code> layer, still it gives me the following error:</p>
  
  <blockquote>
    <p>File "C:\Users\Faiq
    Ahmad\Anaconda3\lib\site-packages\keras\engine\base_layer.py", line
    128, in <strong>init</strong>
        raise TypeError('Keyword argument not understood:', kwarg)</p>
    
    <p>TypeError: ('Keyword argument not understood:', 'Dropout')</p>
  </blockquote>
  
  <p>Some people suggested to upgrade keras but no luck.</p>
  
  <p>The code is as follows:</p>
  
  <pre><code>keras.models 
  import Sequential from sklearn.preprocessing 
  import MinMaxScaler from keras.layers 
  import Dense, Dropout, Activation, Flatten, LSTM , 
  model = Sequential() 
  model.add(LSTM(128, return_sequences=True, input_dim=3, input_shape =(50,), activation= 'relu')) 
  model.add(LSTM(32, Dropout=0.2)) 
  model.add(Dense(2, activation='softmax')) 
  model.compile(Adam(lr=0.0001), loss='mean_absolute_error', metrics=['accuracy']) 
  model.fit(x_train, y_train, validation_split=(x_test,y_test), epochs=30 )
  </code></pre>