python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Scikit learn GridSearchCV with pipeline with custom transformer
I'm trying to perform a GridSearchCV on a pipeline with a custom transformer. The transformer enriches the features "year" and "odometer" polynomially and one hot encodes the rest ...
Davis Stöwer
Votes: 0
Answers: 1
NameError: name 'GridSearchCV' is not defined. I have done the import though : from sklearn.model_selection import GridSearchCV
NameError Traceback (most recent call last)
C:\Users\VAISHN~1\AppData\Local\Temp/ipykernel_6520/2922578464.py in
3 'kernel': ['rbf']}
4
----> 5 optimal_params...
Vaishnavi
Votes: 0
Answers: 1
GridSearchCV and RandomizedSearchCV in Scikit-learn 0.24.0 or above do not print progress log with n_jobs=-1
In scikit-learn 0.24.0 or above when you use either GridSearchCV or RandomizedSearchCV and set n_jobs=-1, with setting any verbose number (1, 2, 3, or 100) no progress messages gets printed. However, ...
Ashtad
Votes: 0
Answers: 1
Invalid Parameter XGB For Estimator
I am performing a GridSearch on the parameters below for an XGB Classifier. It's simple enough, but when I run grid_search.fit(X_train, y_train) it returns ValueError: Invalid parameter xgb for estima...
abrahamdaniels
Votes: 0
Answers: 1