Commit 47f86736 authored by 郭羽's avatar 郭羽

特征工程优化

parent ad996d28
...@@ -100,9 +100,6 @@ def addItemFeatures(samples,itemDF,dataVocab,multiVocab): ...@@ -100,9 +100,6 @@ def addItemFeatures(samples,itemDF,dataVocab,multiVocab):
dataVocab[new_c] = multiVocab[c] dataVocab[new_c] = multiVocab[c]
itemDF = itemDF.drop(c)
samples = samples.join(itemDF, on=['itemid'], how='inner') samples = samples.join(itemDF, on=['itemid'], how='inner')
# 统计特征处理 # 统计特征处理
print("统计特征处理...") print("统计特征处理...")
......
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