Skip to content

Commit

Permalink
fixed kNN for kNNBasic on issue #131
Browse files Browse the repository at this point in the history
  • Loading branch information
ODemidenko committed Jan 30, 2018
2 parents 56311f0 + 4741998 commit 39cc83a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surprise/prediction_algorithms/knns.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ class KNNWithZScore(SymmetricAlgo):
def __init__(self, k=40, min_k=1, sim_options={}, fix_k_neighbors=False,
**kwargs):

SymmetricAlgo.__init__(self, sim_options=sim_options, **kwargs,
fix_k_neighbors=fix_k_neighbors)
SymmetricAlgo.__init__(self, sim_options=sim_options,
fix_k_neighbors=fix_k_neighbors, **kwargs)

self.k = k
self.min_k = min_k
Expand Down

0 comments on commit 39cc83a

Please sign in to comment.