Skip to content

Commit fc9880e

Browse files
author
fluffygravy
authored
Update Random Trees grow in a forest.ipynb
1 parent d32768b commit fc9880e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/JorNaDidi/RandomForestRegressor/Random Trees grow in a forest.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
],
118118
"source": [
119119
"target = df_train[df_train.columns.values[-1]]\n",
120-
"target_log = np.log(target)\n",
120+
"target_log = np.log([target] + 1)\n",
121121
"\n",
122122
"plt.figure(figsize=(10,5))\n",
123123
"plt.subplot(1,2,1)\n",

0 commit comments

Comments
 (0)