Skip to content

Instantly share code, notes, and snippets.

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 omchaithanyav/122ac88559094628b2c9b65c0f2b1960 to your computer and use it in GitHub Desktop.
Save omchaithanyav/122ac88559094628b2c9b65c0f2b1960 to your computer and use it in GitHub Desktop.
X = dataset.iloc[:, 3:-1].values
y = dataset.iloc[:, -1].values
# Scaling
from sklearn.preprocessing import StandardScaler
ss = StandardScaler()
X = ss.fit_transform(X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment