Commit 51667ba2 authored by 宋柯's avatar 宋柯

模型调试

parent 64190400
...@@ -572,7 +572,7 @@ def getExposureSql(start, end): ...@@ -572,7 +572,7 @@ def getExposureSql(start, end):
and card_type in ('card','video') and card_type in ('card','video')
and card_content_type in ('service') and card_content_type in ('service')
and (get_json_object(exposure_card,'$.in_page_pos') is null or get_json_object(exposure_card,'$.in_page_pos') != 'seckill') and (get_json_object(exposure_card,'$.in_page_pos') is null or get_json_object(exposure_card,'$.in_page_pos') != 'seckill')
group by partition_date,city_id,cl_type,cl_id,card_id,app_session_id group by partition_date, city_id, cl_type, cl_id, card_id, app_session_id
) t1 ) t1
join join
( --渠道,新老 ( --渠道,新老
...@@ -841,9 +841,9 @@ def get_item_es_feature_df(): ...@@ -841,9 +841,9 @@ def get_item_es_feature_df():
ITEM_PREFIX + CATEGORY_PREFIX + 'doctor_type', ITEM_PREFIX + CATEGORY_PREFIX + 'doctor_id', ITEM_PREFIX + CATEGORY_PREFIX + 'doctor_type', ITEM_PREFIX + CATEGORY_PREFIX + 'doctor_id',
ITEM_PREFIX + CATEGORY_PREFIX + 'doctor_famous', ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_id', ITEM_PREFIX + CATEGORY_PREFIX + 'doctor_famous', ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_id',
ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_city_tag_id', ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_type', ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_city_tag_id', ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_type',
ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_is_high_quality', ITEM_PREFIX + CATEGORY_PREFIX + 'second_demands', ITEM_PREFIX + CATEGORY_PREFIX + 'hospital_is_high_quality', ITEM_PREFIX + MULTI_CATEGORY_PREFIX + 'second_demands',
ITEM_PREFIX + CATEGORY_PREFIX + 'second_solutions', ITEM_PREFIX + CATEGORY_PREFIX + 'second_positions', ITEM_PREFIX + MULTI_CATEGORY_PREFIX + 'second_solutions', ITEM_PREFIX + MULTI_CATEGORY_PREFIX + 'second_positions',
ITEM_PREFIX + CATEGORY_PREFIX + 'projects', ITEM_PREFIX + NUMERIC_PREFIX + 'sku_price'] ITEM_PREFIX + MULTI_CATEGORY_PREFIX + 'projects', ITEM_PREFIX + NUMERIC_PREFIX + 'sku_price']
itemEsFeatureDF = pd.DataFrame(datas,columns=itemColumns) itemEsFeatureDF = pd.DataFrame(datas,columns=itemColumns)
......
...@@ -62,7 +62,6 @@ def getWeight(x): ...@@ -62,7 +62,6 @@ def getWeight(x):
return res return res
tf.feature_column.bucketized_column()
def getDataSet(df,shuffleSize = 10000,batchSize=128): def getDataSet(df,shuffleSize = 10000,batchSize=128):
# print(df.dtypes) # print(df.dtypes)
......
import tensorflow as tf
tf.keras.Model()
\ No newline at end of file
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