python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
LGBMClassifier roc_auc problem using gridSearchCV and early_stopping via BaseEstimator
i want to integrate an LGBMClassifier to existing code. the code call fit(X,y), while LGBMClassifier will need fit(X, y, eval_set, callbacks, eval_metric). i'm trying to encapsulate eval_set, callback...
silvyan
Votes: 0
Answers: 1
GridSearchCV & BrokenProcessPool: A task has failed to un-serialize. Please ensure that the arguments of the function are all picklable
I'm running a GridSearchCV for NLP data, this is the code I'm using:
%%time
# Next we can specify the hyperparameters for each model
param_grid = [
{
'transformer': list_of_vecs,
'scaler'...
Alfredo Di Massimo
Votes: 0
Answers: 1
Warning that seems a bug in Matthews correlation coefficient computation
The grid search part of my code looks like this:
svc_param_grid={"C":c, "kernel":kernel, "gamma":gamma, "degree":degree}
grid_cv_object = GridSearchCV(
esti...
Caterina
Votes: 0
Answers: 1
Why do I need to fit a GridSearchCV object to the data before I can get the best parameters and model?
My question is similar to the one here, but the answer there does not explain why we must fit to the data before getting the best paramters, it just states that we must. In my understanding, GridSeach...
user1093541
Votes: 0
Answers: 0