ss-validation-with-structured-data" class="level3 unnumbered">
<h3 class="unnumbered anchored" data-anchor-id="cross-validation-with-structured-data">Cross-validation with structured data</h3>
<p>Cross-validation must be done with care if the data is inherently structured. For example, in a simple natural language application, data might be structured by document. For cross-validation, one needs to cross-validate at the document level, not at the individual word level. This is related to <a href="../stan-us