Resolved! How to fix TypeError: __init__() got an unexpected keyword argument 'max_iter'?
# 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: Typ...
- 14702 Views
- 4 replies
- 1 kudos
Latest Reply
Replacing max_iter with n_iter resolves the error. Thnx! It is a bit unusual to expect errors like this with this type of solution from Microsoft. As if it could not be prevented..
- 1 kudos