Skip to content

Commit

Permalink
update import
Browse files Browse the repository at this point in the history
  • Loading branch information
wnma3mz committed Jun 2, 2018
1 parent cf7b3c7 commit a84cd3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py3.x/16.RecommenderSystems/test_evaluation_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import math
import random
def SplitData(data, M, k, seed):
test = []
train = []
Expand Down
2 changes: 2 additions & 0 deletions src/py3.x/16.RecommenderSystems/test_基于用户.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import math
from operator import itemgetter
def UserSimilarity1(train):
W = dict()
for u in train.keys():
Expand Down

0 comments on commit a84cd3c

Please sign in to comment.