How and why to Standardize your data: A python tutorial
How and why to Standardize your data: A python tutorial In this post I explain why and how to apply Standardization using scikit-learn in Python Serafeim Loukas May 26, 2020 · 4 min read Figure taken from: https://scikit-learn.org/stable/auto_examples/preprocessing/plot_all_scaling.html . Left subplot: the unscaled data. Right subplot: the transformed data. Hi there. This is my first Medium post. I am an electrical & computer engineer currently finishing my PhD studies in the biomedical engineering and computational neuroscience field. I have been working on machine learning problems for the past 4 years. A very common question that I see all around the web is how to standardize and why to do so, the data before fitting a machine learning model. How does scikit-learn’s StandardScaler work ? The first question that comes to one’s mind is: Why to standardize in the first place? Why to standardize before fitting a ML model? Well, the idea is simp l e . Variables that are...