</span> <span class="n">run_helper</span>
<a id="__codelineno-1-3" name="__codelineno-1-3" href="#__codelineno-1-3"></a><span class="kn">from</span> <span class="nn">torch_choice.model</span> <span class="kn">import</span> <span class="n">ConditionalLogitModel</span>
</code></pre></div>
<h2 id="r">R</h2>
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a>library(&quot;mlogit&quot;)
</code></pre></div>
<h1 id="step-1-load-data">Step 1: