Skip to content

Commit

Permalink
Fix typos in doc (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks authored and NicolasHug committed May 22, 2019
1 parent 5070b3f commit 77f7d41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion surprise/accuracy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The :mod:`surprise.accuracy` module provides with tools for computing accuracy
The :mod:`surprise.accuracy` module provides tools for computing accuracy
metrics on a set of predictions.
Available accuracy metrics:
Expand Down
8 changes: 4 additions & 4 deletions surprise/trainset.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@


class Trainset:
"""A trainset contains all useful data that constitutes a training set.
"""A trainset contains all useful data that constitute a training set.
It is used by the :meth:`fit()
<surprise.prediction_algorithms.algo_base.AlgoBase.fit>` method of every
prediction algorithm. You should not try to built such an object on your
prediction algorithm. You should not try to build such an object on your
own but rather use the :meth:`Dataset.folds()
<surprise.dataset.Dataset.folds>` method or the
:meth:`DatasetAutoFolds.build_full_trainset()
<surprise.dataset.DatasetAutoFolds.build_full_trainset>` method.
Trainsets are different from :class:`Datasets <surprise.dataset.Dataset>`.
You can think of a :class:`Datasets <surprise.dataset.Dataset>` as the raw
You can think of a :class:`Dataset <surprise.dataset.Dataset>` as the raw
data, and Trainsets as higher-level data where useful methods are defined.
Also, a :class:`Datasets <surprise.dataset.Dataset>` may be comprised of
Also, a :class:`Dataset <surprise.dataset.Dataset>` may be comprised of
multiple Trainsets (e.g. when doing cross validation).
Expand Down

0 comments on commit 77f7d41

Please sign in to comment.