Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aksnzhy committed Dec 9, 2017
1 parent 96fd189 commit 3868927
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified _build/doctrees/command_line.doctree
Binary file not shown.
Binary file modified _build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion _build/html/_sources/command_line.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Users can choose different machine learning models by using ``-s`` option ::
For LR and FM, the input data can be ``CSV`` or ``libsvm`` data format, while for FFM, the
input data should be the ``libffm`` format. You can give a ``libffm`` file to LR and FM. At that
time, xLearn will treat this data as ``libsvm`` format. The following command shows how to use different
machine learning model to solve the binary classification problem ::
machine learning model to solve the binary classification problem: ::

./xlearn_train ./small_train.txt -s 0 # Using linear model
./xlearn_train ./small_train.txt -s 1 # Using factorization machine (FM)
Expand Down
2 changes: 1 addition & 1 deletion _build/html/command_line.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h2>Choose Machine Learning Model<a class="headerlink" href="#choose-machine-lea
<p>For LR and FM, the input data can be <code class="docutils literal"><span class="pre">CSV</span></code> or <code class="docutils literal"><span class="pre">libsvm</span></code> data format, while for FFM, the
input data should be the <code class="docutils literal"><span class="pre">libffm</span></code> format. You can give a <code class="docutils literal"><span class="pre">libffm</span></code> file to LR and FM. At that
time, xLearn will treat this data as <code class="docutils literal"><span class="pre">libsvm</span></code> format. The following command shows how to use different
machine learning model to solve the binary classification problem</p>
machine learning model to solve the binary classification problem:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">xlearn_train</span> <span class="o">./</span><span class="n">small_train</span><span class="o">.</span><span class="n">txt</span> <span class="o">-</span><span class="n">s</span> <span class="mi">0</span> <span class="c1"># Using linear model</span>
<span class="o">./</span><span class="n">xlearn_train</span> <span class="o">./</span><span class="n">small_train</span><span class="o">.</span><span class="n">txt</span> <span class="o">-</span><span class="n">s</span> <span class="mi">1</span> <span class="c1"># Using factorization machine (FM)</span>
<span class="o">./</span><span class="n">xlearn_train</span> <span class="o">./</span><span class="n">small_train</span><span class="o">.</span><span class="n">txt</span> <span class="o">-</span><span class="n">s</span> <span class="mi">2</span> <span class="c1"># Using field-awre factorization machine (FFM)</span>
Expand Down
2 changes: 1 addition & 1 deletion command_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Users can choose different machine learning models by using ``-s`` option ::
For LR and FM, the input data can be ``CSV`` or ``libsvm`` data format, while for FFM, the
input data should be the ``libffm`` format. You can give a ``libffm`` file to LR and FM. At that
time, xLearn will treat this data as ``libsvm`` format. The following command shows how to use different
machine learning model to solve the binary classification problem ::
machine learning model to solve the binary classification problem: ::

./xlearn_train ./small_train.txt -s 0 # Using linear model
./xlearn_train ./small_train.txt -s 1 # Using factorization machine (FM)
Expand Down

0 comments on commit 3868927

Please sign in to comment.