Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aksnzhy committed Jan 23, 2018
1 parent d3bf517 commit 7d7161b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions python_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,21 @@ and then we can get the result ::
0
0

Also, users can save the model in txt format by using ``setTXTModel()`` API. For example: ::

ffm_model.setTXTModel("./model.txt")

After that, we get a new file called ``model.txt``, which stores the trained model in txt format.
For now, xLearn only supports to save the bias and linear term in txt file. ::

head -n 5 ./model.txt

-0.688182
0.458082
0
0
0

Choose Machine Learning Algorithm
----------------------------------------

Expand Down

0 comments on commit 7d7161b

Please sign in to comment.