Is there a way to have an instance of LogisticRegression()
automatically normalize the data supplied for fitting/training to z-scores
to build the model? LinearRegression()
has a normalize=True
parameter but maybe this doesn't make sense for LogisticRegression()
?
If so, would I have to normalize unlabeled input vectors by hand (i.e., recalculate the mean, standard deviation for each column) before calling predict_proba()
? This would be strange if the model already performed that possibly costly computation.
Thanks
Is this what you are looking for?