Update 汽车价格预测任务

pull/2/head
benjas 5 years ago
parent c574510d5b
commit c1d87828ce

@ -3596,6 +3596,7 @@
" \"features and eliminated the other\"+ \\\n", " \"features and eliminated the other\"+ \\\n",
" str(sum(coefs == 0)) + \"features.\")\n", " str(sum(coefs == 0)) + \"features.\")\n",
"\n", "\n",
"#只看头5个和尾5个\n",
"coefs = pd.concat([coefs.sort_values().head(5), coefs.sort_values().tail(5)])\n", "coefs = pd.concat([coefs.sort_values().head(5), coefs.sort_values().tail(5)])\n",
"\n", "\n",
"plt.figure(figsize=(10,4))\n", "plt.figure(figsize=(10,4))\n",

@ -3596,6 +3596,7 @@
" \"features and eliminated the other\"+ \\\n", " \"features and eliminated the other\"+ \\\n",
" str(sum(coefs == 0)) + \"features.\")\n", " str(sum(coefs == 0)) + \"features.\")\n",
"\n", "\n",
"#只看头5个和尾5个\n",
"coefs = pd.concat([coefs.sort_values().head(5), coefs.sort_values().tail(5)])\n", "coefs = pd.concat([coefs.sort_values().head(5), coefs.sort_values().tail(5)])\n",
"\n", "\n",
"plt.figure(figsize=(10,4))\n", "plt.figure(figsize=(10,4))\n",
Loading…
Cancel
Save