Questions tagged [bayessearchcv]
20 questions
0
votes
1 answer
How do I extract the best features when using BayesSearchCV?
When using BayesSearchCV from Skopt for Feature Selection, how can I extract the feature names of the optimal set of features? I only know how to get the number of features together with other hyperparameters but am unable to find how to get the…

user16894190
- 11
- 2
0
votes
1 answer
TypeError: __init__() got an unexpected keyword argument 'iid'
I found best parameters and best score using GridSearchCV and RandomizedSearchCV for my TCSVM model.
and now i want to use the BayesSearchCV in order to compare it with previous methods, but i got this error __init__() got an unexpected keyword…

jd10031994
- 23
- 2
- 6
0
votes
1 answer
__init__() got an unexpected keyword argument 'iid'
I am trying to use BayesSearchCV but I got an unexpected error. I don't use iid parameter but the error keeps saying __init__() got an unexpected keyword argument 'iid'. I will share my code here.
Code:
roc_auc = make_scorer(roc_auc_score,…

Ali Yusifov
- 3
- 2
- 5
0
votes
1 answer
BayesSearchCV error when hyperparameter tuning for XGBoost. ValueError: Not all points are within the bounds of the space
I'm trying to optimise an XGBoost model using BayesSearchCV from Scikit Optimizer, here is the code I am attempting to use:
from skopt import BayesSearchCV
import xgboost as xgb
from main import format_data_for_xgboost
x_train, x_test, y_train,…

Darcey BM
- 301
- 1
- 5
- 20
-1
votes
1 answer
How to solve this "AssertionError: Must have at least 1 validation dataset for early stopping." in xgboost model=1.6.2
from skopt import BayesSearchCV bayes_cv_tuner = BayesSearchCV( estimator = XGBClassifier( n_jobs = 8, objective = 'binary:logistic', eval_metric = 'auc', silent=1, tree_method='approx',…

SHESADEV SHA
- 9
- 3