Skip to content

Commit

Permalink
adding variable to catch third return from proc_df
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-d-jones committed Mar 2, 2018
1 parent 762f0b6 commit b9eeb7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion courses/ml1/lesson1-rf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3490,7 +3490,7 @@
},
"outputs": [],
"source": [
"df_trn, y_trn = proc_df(df_raw, 'SalePrice')\n",
"df_trn, y_trn, nas = proc_df(df_raw, 'SalePrice')\n",
"X_train, X_valid = split_vals(df_trn, n_trn)\n",
"y_train, y_valid = split_vals(y_trn, n_trn)"
]
Expand Down
2 changes: 1 addition & 1 deletion courses/ml1/lesson2-rf_interpretation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3434,7 +3434,7 @@
"df_ext = df_keep.copy()\n",
"df_ext['is_valid'] = 1\n",
"df_ext.is_valid[:n_trn] = 0\n",
"x, y = proc_df(df_ext, 'is_valid')"
"x, y, nas = proc_df(df_ext, 'is_valid')"
]
},
{
Expand Down

0 comments on commit b9eeb7a

Please sign in to comment.