mprop="articleBody">
            
  <h1>Source code for iDEA.methods.lda</h1><div class="highlight"><pre>
<span></span><span class="sd">&quot;&quot;&quot;Contains all LDA functionality and solvers.&quot;&quot;&quot;</span>


<span class="kn">from</span> <span class="nn">collections.abc</span> <span class="kn">import</span> <span class="n">Callable</span>
<span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
<span class="kn">import</span> <span clas