Commit 11de18e1 authored by 张彦钊's avatar 张彦钊

change test file

parent fc93711d
...@@ -87,7 +87,7 @@ def train_yingshe(y): ...@@ -87,7 +87,7 @@ def train_yingshe(y):
value_map[x[17]], value_map[x[18]], value_map[x[19]], value_map[x[20]], value_map[x[21]], value_map[x[17]], value_map[x[18]], value_map[x[19]], value_map[x[20]], value_map[x[21]],
value_map[x[22]], value_map[x[23]], value_map[x[24]], value_map[x[25]], value_map[x[26]]]) value_map[x[22]], value_map[x[23]], value_map[x[24]], value_map[x[25]], value_map[x[26]]])
tmp.append(i) tmp.append(i)
return tmp return iter(tmp)
def pre_yingshe(y): def pre_yingshe(y):
tmp = [] tmp = []
...@@ -108,7 +108,7 @@ def pre_yingshe(y): ...@@ -108,7 +108,7 @@ def pre_yingshe(y):
value_map.get(x[29], 15) value_map.get(x[29], 15)
]) ])
tmp.append(i) tmp.append(i)
return tmp return iter(tmp)
def feature_engineer(): def feature_engineer():
apps_number, app_list_map, level2_number, leve2_map, level3_number, leve3_map = get_map() apps_number, app_list_map, level2_number, leve2_map, level3_number, leve3_map = get_map()
......
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