Commit 8ee5f546 authored by 赵威's avatar 赵威

update click conversion ratio

parent dc4c7c67
......@@ -6,7 +6,7 @@ def click_feature_engineering(click_df, conversion_df):
# conversion_df = conversion_df.copy()
click_df.rename(columns={"label": "click_label"}, inplace=True)
# click_df = click_df.sample(conversion_df.shape[0] * 10)
click_df = click_df.sample(conversion_df.shape[0] * 10)
print("click_df: " + str(click_df.shape))
conversion_df.rename(columns={"label": "conversion_label"}, inplace=True)
print("conversion_df: " + str(conversion_df.shape))
......
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