From 65a50dfd422f68ccf35e75e82f3521a70ddf8a2d Mon Sep 17 00:00:00 2001 From: benjas <909336740@qq.com> Date: Mon, 8 Feb 2021 22:27:45 +0800 Subject: [PATCH] Update. some methods --- .../4-模型预测及评估.ipynb | 244 ++++++++++++++++++ 1 file changed, 244 insertions(+) diff --git a/机器学习竞赛实战_优胜解决方案/京东用户购买意向预测/4-模型预测及评估.ipynb b/机器学习竞赛实战_优胜解决方案/京东用户购买意向预测/4-模型预测及评估.ipynb index c442ea5..b6ee0ca 100644 --- a/机器学习竞赛实战_优胜解决方案/京东用户购买意向预测/4-模型预测及评估.ipynb +++ b/机器学习竞赛实战_优胜解决方案/京东用户购买意向预测/4-模型预测及评估.ipynb @@ -21,6 +21,250 @@ "plt.rcParams['axes.unicode_minus']=False" ] }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + " | user_id | \n", + "sku_id | \n", + "cate | \n", + "action_before_3_1.0_x | \n", + "action_before_3_2.0_x | \n", + "action_before_3_3.0_x | \n", + "action_before_3_4.0_x | \n", + "action_before_3_5.0_x | \n", + "action_before_3_6.0_x | \n", + "action_before_3_1.0_y | \n", + "... | \n", + "cate_action_4_mean | \n", + "cate_action_5_mean | \n", + "cate_action_6_mean | \n", + "has_bad_comment | \n", + "bad_comment_rate | \n", + "comment_num_0 | \n", + "comment_num_1 | \n", + "comment_num_2 | \n", + "comment_num_3 | \n", + "comment_num_4 | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", + "200001.0 | \n", + "20308.0 | \n", + "8.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "... | \n", + "214.800000 | \n", + "665.166667 | \n", + "185387.233333 | \n", + "1.0 | \n", + "0.0132 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "
1 | \n", + "200001.0 | \n", + "38604.0 | \n", + "9.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "... | \n", + "59.033333 | \n", + "106.600000 | \n", + "37389.133333 | \n", + "1.0 | \n", + "0.0250 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "
2 | \n", + "200001.0 | \n", + "164215.0 | \n", + "8.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "... | \n", + "214.800000 | \n", + "665.166667 | \n", + "185387.233333 | \n", + "1.0 | \n", + "0.0386 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "
3 | \n", + "200002.0 | \n", + "2866.0 | \n", + "9.0 | \n", + "2.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "10.0 | \n", + "28.0 | \n", + "... | \n", + "59.033333 | \n", + "106.600000 | \n", + "37389.133333 | \n", + "0.0 | \n", + "0.0000 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "
4 | \n", + "200002.0 | \n", + "3673.0 | \n", + "9.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "4.0 | \n", + "30.0 | \n", + "... | \n", + "59.033333 | \n", + "106.600000 | \n", + "37389.133333 | \n", + "1.0 | \n", + "0.0436 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "0.0 | \n", + "1.0 | \n", + "
5 rows × 236 columns
\n", + "