Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aksnzhy committed Nov 27, 2018
1 parent fc7e031 commit 7cd14a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python_api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ Model Output

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

ffm_model.setSign()
ffm_model.setTXTModel("./model.txt")
ffm_model.setTest("./small_test.txt")
ffm_model.predict("./model.out", "./output.txt")
ffm_model.fit(param, "./model.out")

After that, we get a new file called ``model.txt``, which stores the trained model in ``TXT`` format: ::

Expand Down

0 comments on commit 7cd14a7

Please sign in to comment.