Commit 9aeeb079 authored by 郭羽's avatar 郭羽

美购精排模型耗时优化

parent c68ce275
......@@ -263,8 +263,8 @@ def getDataVocab(samples):
vocabSet.add(str(d[c]))
vocabSet.add("-1")# 空值的默认
dataVocab[c] = list(vocabSet)
elif c.count("userRatedHistory") > 0:
dataVocab[c] = dataVocab["itemid"]
# elif c.count("userRatedHistory") > 0:
# dataVocab[c] = dataVocab["itemid"]
else:
# 判断是否多值离散列
for cc, v in multiVocab.items():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment