Viewing a single comment thread. View all comments

henkje112 t1_jcxjx44 wrote

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.

1

rylo_ren_ t1_jdyw4pf wrote

Thank you!! I’ll give it a try. And yes I’m using sklearn

1