Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Dec 17, 2016
1 parent 8e2a41c commit c6492b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions surprise/accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def rmse(predictions, verbose=True):
Args:
predictions (:obj:`list` of :obj:`Prediction\
<surprise.prediction_algorithms.predictions.Prediction>`):
A list of predictions, as returned by the :meth:`test
<surprise.prediction_algorithms.bases.AlgoBase.test>` method.
A list of predictions, as returned by the :meth:`test()
<surprise.prediction_algorithms.algo_base.AlgoBase.test>` method.
verbose: If True, will print computed value. Default is ``True``.
Expand Down Expand Up @@ -64,8 +64,8 @@ def mae(predictions, verbose=True):
Args:
predictions (:obj:`list` of :obj:`Prediction\
<surprise.prediction_algorithms.predictions.Prediction>`):
A list of predictions, as returned by the :meth:`test
<surprise.prediction_algorithms.bases.AlgoBase.test>` method.
A list of predictions, as returned by the :meth:`test()
<surprise.prediction_algorithms.algo_base.AlgoBase.test>` method.
verbose: If True, will print computed value. Default is ``True``.
Expand Down Expand Up @@ -98,8 +98,8 @@ def fcp(predictions, verbose=True):
Args:
predictions (:obj:`list` of :obj:`Prediction\
<surprise.prediction_algorithms.predictions.Prediction>`):
A list of predictions, as returned by the :meth:`test
<surprise.prediction_algorithms.bases.AlgoBase.test>` method.
A list of predictions, as returned by the :meth:`test()
<surprise.prediction_algorithms.algo_base.AlgoBase.test>` method.
verbose: If True, will print computed value. Default is ``True``.
Expand Down
2 changes: 1 addition & 1 deletion surprise/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def evaluate(algo, data, measures=['rmse', 'mae'], with_dump=False,
perform cross validation.
Args:
algo(:obj:`AlgoBase <surprise.prediction_algorithms.bases.AlgoBase>`):
algo(:obj:`AlgoBase <surprise.prediction_algorithms.algo_base.AlgoBase>`):
The algorithm to evaluate.
data(:obj:`Dataset <surprise.dataset.Dataset>`): The dataset on which
to evaluate the algorithm.
Expand Down
2 changes: 1 addition & 1 deletion surprise/prediction_algorithms/algo_base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The :mod:`surprise.prediction_algorithms.bases` module defines the base class
The :mod:`surprise.prediction_algorithms.algo_base` module defines the base class
:class:`AlgoBase` from
which every single prediction algorithm has to inherit.
"""
Expand Down

0 comments on commit c6492b6

Please sign in to comment.