reset password
Author Message
smoon2
Posts: 9
Posted 16:01 Oct 29, 2019 |

Why is preprocessing.scale() used?

 

Should every dataset be scaled? At what point should we or shouldn't we use scaling?

mpourhoma
Posts: 39
Posted 16:14 Oct 29, 2019 |

It performs the Feature Normalization that we talked about in the class. Most ML algorithms need Normalization before training to have all features in the same scale.