# Create the model using sklearn (don't worry about the parameters for now): model = SGDRegressor(loss='squared_loss', verbose=0, eta0=0.0003, max_iter=3000)
Train/fit the model to the train-part of the dataset: odel.fit(X_train, y_train)
ERROR:
TypeError: init() got an unexpected keyword argument 'max_iter'
TypeError Traceback (most recent call last) <command-894361499296960> in <module>() 1 # Create the model using sklearn (don't worry about the parameters for now): ----> 2 model = SGDRegressor(loss='squared_loss', verbose=0, eta0=0.0003, max_iter=3000) 3 4 # Train/fit the model to the train-part of the dataset: 5 model.fit(X_train, y_train)
TypeError: init() got an unexpected keyword argument 'max_iter'
I m running the linear regression code in Community edition.
Google says reinstall --
pip install scikit-learn==0.18 --force-reinstall
How to re-install in notebook?