Skip to content

Instantly share code, notes, and snippets.

@CaptainAshis
Created September 27, 2018 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CaptainAshis/3b7e2ab5c2086f8acb13e2ef068cf42f to your computer and use it in GitHub Desktop.
Save CaptainAshis/3b7e2ab5c2086f8acb13e2ef068cf42f to your computer and use it in GitHub Desktop.
dt_feature91 ros fastai
# Step 14
df, y, nas, mapper = proc_df(joined_samp, 'Sales', do_scale=True)
yl = np.log(y)
joined_test = joined_test.set_index("Date")
df_test, _, nas, mapper = proc_df(joined_test, 'Sales', do_scale=True, skip_flds=['Id'],
mapper=mapper, na_dict=nas)
df.head(2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment