Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created April 1, 2019 21:06
Show Gist options
  • Save curiousily/b291cb0c4e93616dc3e4a8953dc37eb2 to your computer and use it in GitHub Desktop.
Save curiousily/b291cb0c4e93616dc3e4a8953dc37eb2 to your computer and use it in GitHub Desktop.
x = df_train['GrLivArea']
y = df_train['SalePrice']
x = (x - x.mean()) / x.std()
x = np.c_[np.ones(x.shape[0]), x]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment