From 39f4beca5e04730f78579230f0e52d333c14d37c Mon Sep 17 00:00:00 2001 From: playphil <66652335+playphil@users.noreply.github.com> Date: Mon, 8 Jun 2020 17:56:29 -0700 Subject: [PATCH] logx=False plots data as User_Score is <=10 logx=True doesn't seem appropriate since User_Score is <=10 the plot shows nothing --- .../video_game_sales/video-game-sales-xgboost.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb b/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb index 68d9a62ee3..2546f9022c 100644 --- a/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb +++ b/introduction_to_applying_machine_learning/video_game_sales/video-game-sales-xgboost.ipynb @@ -147,7 +147,7 @@ "viz['User_Score'] = pd.Series(viz['User_Score'].apply(pd.to_numeric, errors='coerce'))\n", "viz['User_Score'] = viz['User_Score'].mask(np.isnan(viz[\"User_Score\"]), viz['Critic_Score'] / 10.0)\n", "viz.plot(kind='scatter', logx=True, logy=True, x='Critic_Score', y='Global_Sales')\n", - "viz.plot(kind='scatter', logx=True, logy=True, x='User_Score', y='Global_Sales')\n", + "viz.plot(kind='scatter', logx=False, logy=True, x='User_Score', y='Global_Sales')\n", "plt.show()" ] },