Skip to content

Commit

Permalink
Merge pull request #267 from victoongo/patch-1
Browse files Browse the repository at this point in the history
fix typo in warning
  • Loading branch information
NicolasHug committed Apr 25, 2019
2 parents fd45c63 + 29a3d78 commit 2efa884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surprise/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, reader=None, rating_scale=None):
if self.reader.rating_scale is None:
raise ValueError('Oooops')
warnings.warn('Using rating_scale from reader, deprecated. Set '
'rating_scale at dataset creationg instead '
'rating_scale at dataset creation instead '
'(load_from_file, load_from_folds, or load_from_df).')
self.rating_scale = self.reader.rating_scale

Expand Down

0 comments on commit 2efa884

Please sign in to comment.