Skip to content

Commit

Permalink
Merge pull request apachecn#522 from cclauss/patch-1
Browse files Browse the repository at this point in the history
谢谢老哥 | RandomSelectNegativeSample() --> RandSelectNegativeSamples()
  • Loading branch information
jiangzhonglian authored May 31, 2019
2 parents b025f3e + e657a09 commit 5216f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py3.x/16.RecommenderSystems/test_lfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


# 负样本采样过程
def RandomSelectNegativeSample(self, items):
def RandSelectNegativeSamples(self, items):
ret = {key: 1 for key in items}
n = 0
for i in range(0, len(items) * 3):
Expand Down

0 comments on commit 5216f5b

Please sign in to comment.