Submitted by AutoModerator t3_11pgj86 in MachineLearning
henkje112 t1_jcxjx44 wrote
Reply to comment by rylo_ren_ in [D] Simple Questions Thread by AutoModerator
I'm assuming you're using sklearn for LinearRegression. You're initializing an instance of the LinearRegression class with a normalize
parameter, but this is not valid for this class (for a list of possible parameters, see the documentation).
I'm not sure what you're trying to do, but I think you want to normalize your input data? In that case you should ook at MinMaxScaler. This transforms your features by scaling each feature to a given range.
rylo_ren_ t1_jdyw4pf wrote
Thank you!! I’ll give it a try. And yes I’m using sklearn
Viewing a single comment thread. View all comments