What I Realized While Working Through the Spark Example
Basically, normalization is essential in every big data scaling process. However, I had been taking normalization for granted without really thinking about why
Basically, normalization is essential in every big data scaling process.
However, I had been taking normalization for granted without really thinking about why we do it...
Just as I was wondering about it, I suddenly came to understand it a little.

This is part of the code that transforms the data into the format needed to use the k-means algorithm,
and performs the normalization process.
This data consists of measurements for each particle in the kernels captured by X-ray. If we identify the types using printshema() and look up one observation using head(), we can see that they are all continuous numbers, but their units vary. Some are millimeters, some square meters? With units this different, can they really be compared properly?

