How do I confirm the output from the sklearn transform model (sc.transform)?

Viewed 7

I am learning about the StandardScaler module in sklearn. I understand the sc.fit obtains the mean of the data and uses it to transform the train and the test of the data, but I do not understand what mathematical function is being performed on the data array with the sc.mean_ obtained from sc.fit.

How do I confirm that the output I receive from sc.transform or sc.fit_transform is what I want, or if it is correct?

0 Answers
Related