Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
in sklearn, if I want to transform the data to range(-1, 1), do you think it is better to use StandardScaler before using MinMaxScaler? to make the date more normal distributed?
$\begingroup$Both of the proposed scalers are linear transformations, and the composition of linear functions is also linear. That's addressed in the second duplicate. The first duplicate explains that neither one of these will make data resemble a normal distribution, because these scalers cannot change the shape of the data. We have many, many threads about making data more normally distributed; they can be found by using the Search feature: stats.stackexchange.com/…$\endgroup$
StandardScaler()
is affine linear, so there is no reason to do so. $\endgroup$