Jan-30-2023, 04:04 AM
(This post was last modified: Jan-30-2023, 04:04 AM by deanhystad.)
Use the editor buttons to make python and error tags.
The error message tells you exactly where and what the error is.
This is your error. On line 23 you used an "unexpected" keyword argument, "random_st":
https://scikit-learn.org/stable/modules/...rchCV.html
The error message tells you exactly where and what the error is.
This is your error. On line 23 you used an "unexpected" keyword argument, "random_st":
search = RandomizedSearchCV(model, space, n_iter=500, scoring='accuracy', n_jobs=-1, cv=cv, random_st=1)RandomizedSearchCV does not have a random_st argument. Id does have a random_state argument.
https://scikit-learn.org/stable/modules/...rchCV.html