擅长:python、mysql、java
<p>在<a href="https://github.com/keras-team/keras/releases/tag/2.2.3" rel="nofollow noreferrer">Keras 2.2.3</a>中,为<a href="https://keras.io/api/callbacks/early_stopping/" rel="nofollow noreferrer">^{<cd2>}</a>回调引入了一个名为<code>restore_best_weights</code>的新参数,如果设置为<code>True</code>(默认为<code>False</code>),它将从具有最佳监控量的历元恢复权重:</p>
<blockquote>
<p><strong>restore_best_weights:</strong> whether to restore model weights from the epoch with the best value of the monitored quantity. If <code>False</code>, the
model weights obtained at the last step of training are used.</p>
</blockquote>