Chapter:3-Why do we need feature scaling in Machine Learning and how to do it using SciKit Learn?

Dataset
after onehotencoding
from sklearn.preprocessing import StandardScaler 
standardScalerX = StandardScaler()
x = standardScalerX.fit_transform(x)

--

--

DevOps/Cloud | 2x AWS Certified | Terraform | Gitlab

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store