}
    
<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="train_model" class="doc_header"><code>train_model</code><a href="https://github.com/mnpinto/banet/tree/master/banet/train.py#L183" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>train_model</code>(<strong><code>val_year</code></strong>, <strong><code>r_fold</code></stro