Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aksnzhy committed Dec 5, 2017
1 parent 4544c5f commit 5164e94
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
Binary file modified _build/doctrees/environment.pickle
Binary file not shown.
Binary file modified _build/doctrees/index.doctree
Binary file not shown.
3 changes: 2 additions & 1 deletion _build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Here is a simple python demo no how to use xLearn.
# Prediction task
ffm_model.setTest("./small_test.txt")
ffm_model.setSigmoid() # Convert output to 0~1
# Convert output to 0~1
ffm_model.setSigmoid()
ffm_model.predict("./model.out", "./output.txt")
This example shows how to use xlearn to solve a simple binary classification task.
Expand Down
3 changes: 2 additions & 1 deletion _build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ <h2>Python Demo<a class="headerlink" href="#python-demo" title="Permalink to thi

<span class="c1"># Prediction task</span>
<span class="n">ffm_model</span><span class="o">.</span><span class="n">setTest</span><span class="p">(</span><span class="s2">&quot;./small_test.txt&quot;</span><span class="p">)</span>
<span class="n">ffm_model</span><span class="o">.</span><span class="n">setSigmoid</span><span class="p">()</span> <span class="c1"># Convert output to 0~1</span>
<span class="c1"># Convert output to 0~1</span>
<span class="n">ffm_model</span><span class="o">.</span><span class="n">setSigmoid</span><span class="p">()</span>
<span class="n">ffm_model</span><span class="o">.</span><span class="n">predict</span><span class="p">(</span><span class="s2">&quot;./model.out&quot;</span><span class="p">,</span> <span class="s2">&quot;./output.txt&quot;</span><span class="p">)</span>
</pre></div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Here is a simple python demo no how to use xLearn.
# Prediction task
ffm_model.setTest("./small_test.txt")
ffm_model.setSigmoid() # Convert output to 0~1
# Convert output to 0~1
ffm_model.setSigmoid()
ffm_model.predict("./model.out", "./output.txt")
This example shows how to use xlearn to solve a simple binary classification task.
Expand Down

0 comments on commit 5164e94

Please sign in to comment.