<p>You need to add a data provider definition <codeclass="docutils literal"><spanclass="pre">define_py_data_sources2</span></code> in our network configuration. This definition specifies:</p>
<p>You need to add a data provider definition <codeclass="docutils literal"><spanclass="pre">define_py_data_sources2</span></code> in our network configuration. This definition specifies:</p>
<ulclass="simple">
<ulclass="simple">
<li>The path of the training and testing data (<codeclass="docutils literal"><spanclass="pre">data/train.list</span></code>, <codeclass="docutils literal"><spanclass="pre">data/test.list</span></code>).</li>
<li>The path of the training and testing data (<codeclass="docutils literal"><spanclass="pre">data/train.list</span></code>, <codeclass="docutils literal"><spanclass="pre">data/test.list</span></code>).</li>
<li>The location of the data provider file (<codeclass="docutils literal"><spanclass="pre">dataprovider_pow</span></code>).</li>
<li>The location of the data provider file (<codeclass="docutils literal"><spanclass="pre">dataprovider_bow</span></code>).</li>
<li>The function to call to get data. (<codeclass="docutils literal"><spanclass="pre">process</span></code>).</li>
<li>The function to call to get data. (<codeclass="docutils literal"><spanclass="pre">process</span></code>).</li>
<li>Additional arguments or data. Here it passes the path of word dictionary.</li>
<li>Additional arguments or data. Here it passes the path of word dictionary.</li>