lass="st">"Survived"</span><span class="op">)</span><span class="op">)</span>       </span></code></pre></div>
<!-- Goal: Fitting, rather than prediction -->
<p>Note that we used the entire <code>titanic</code> data (i.e., all
2201 cases) to train <code>titanic.fft</code>, rather than specifying
<code>train.p</code> to set aside some proportion of it or specifying a
dedicated <code>data.test</code> set for predictive purposes. This
implies that our present goal is <em>to fit</em> FFTs to the historic
data,