title: Keras: Exception: Received unknown keyword arguments: {'epochs': 100}
body: <p>I am trying to replicate the code on <a href="http://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/" rel="noreferrer">http://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/</a> (first example). The code can be found in the part "LSTM Networks for Regression". However, my question mainly refers to the following line: </p>
  
  <pre><code>model.fit(trainX, trainY, epochs=100, batch_size=1, verbose=2)
  </code></pre>
  
  <p>When I execute this line, I get the following Exception: </p>
  
  <blockquote>
    <p>model.fit(trainX, trainY, batch_size=1, verbose=2, epochs = 100)
          File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 612, in fit
    str(kwargs))
       Exception: Received unknown keyword arguments: {'epochs': 100}</p>
  </blockquote>
  
  <p>If I leave the keyword 'epochs' away, everything works fine. But of course, this is highly unsatisfactory since I want to increase the number of epochs. Can anyone help?</p>