Skip to content

Instantly share code, notes, and snippets.

@amaarora
Created January 1, 2019 10:31
Show Gist options
  • Save amaarora/22d191d81bbbf3ee6605d5f00c6137b2 to your computer and use it in GitHub Desktop.
Save amaarora/22d191d81bbbf3ee6605d5f00c6137b2 to your computer and use it in GitHub Desktop.
%%time
scores={}
for col in X_valid.columns:
X = X_valid.copy()
X[col] = np.random.choice(X[col], len(X))
scores[col]=rmse(m.predict(X), y_valid)-base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment