What do model.predict() and model.fit() do?
<p>I'm going through <a href="http://outlace.com/Reinforcement-Learning-Part-3/" rel="noreferrer">this reinforcement learning tutorial</a>
and It's been really great so far but could someone please explain what</p>

<pre><code>newQ = model.predict(new_state.reshape(1,64), batch_size=1)
</code></pre>

<p>and </p>

<pre><code>model.fit(X_train, y_train, batch_size=batchSize, nb_epoch=1, verbose=1)
</code></pre>

<p>mean?</p>

<p>As in what do the arguments <code>bach_size</code>, <code>nb_epoch</code> and <code>verbose</code> do?
I know neural networks so explaining in terms of that would be helpful.</p>

<p>You could also send me a link where the documentation of these functions can be found.</p>