Skip to content

Commit

Permalink
Merge pull request fastai#185 from jason-d-jones/notebook1-jj
Browse files Browse the repository at this point in the history
adding variable to catch third return from proc_df
  • Loading branch information
jph00 authored Mar 6, 2018
2 parents 0d7a979 + b9eeb7a commit f7cb3a0
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 f7cb3a0

Please sign in to comment.