Skip to content

Commit

Permalink
Updated notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed May 3, 2017
1 parent 23d1965 commit 4862135
Show file tree
Hide file tree
Showing 5 changed files with 259 additions and 300 deletions.
4 changes: 1 addition & 3 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
TODO
====

* Complete FAQ

* Rewright stuff on prediction dumping for analysis (l.40 building_on_algo)
* Allow to discount similarities (see aggarwal)
* Support conda?
* Allow incremental updates for some algorithms
Expand All @@ -18,6 +15,7 @@ Maybe, Maybe not
Done:
-----

* Complete FAQ
* Change the dumping machinery to be more consistent
* Allow to test on the trainset
* make bibtex entry
Expand Down
11 changes: 11 additions & 0 deletions doc/source/FAQ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ serialized. It is then reloaded and can be used again for making predictions:
:name: serialize_algorithm.py
:lines: 9-

.. _further_analysis:

Algorithms can be serialized along with their predictions, so that can be
further analyzed or compared with other algorithms, using pandas dataframes.
Some examples are given in the two following notebooks:

* `Dumping and analysis of the KNNBasic algorithm
<http://nbviewer.jupyter.org/github/NicolasHug/Surprise/tree/master/examples/notebooks/KNNBasic_analysis.ipynb/>`_.
* `Comparison of two algorithms
<http://nbviewer.jupyter.org/github/NicolasHug/Surprise/tree/master/examples/notebooks/Compare.ipynb/>`_.

How to build my own prediction algorithm
----------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion doc/source/building_custom_algo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ return a dictionary with given details: ::

This dictionary will be stored in the :class:`prediction
<surprise.prediction_algorithms.predictions.Prediction>` as the ``details``
field and can be used for later analysis.
field and can be used for :ref:`later analysis <further_analysis>`.



Expand Down
Loading

0 comments on commit 4862135

Please sign in to comment.