Re: [scikit-learn] question using GridSearchCV

2019-07-24 Thread Glenn Schultz via scikit-learn
Thank you for answering ... makes sense now that you point it out. Sent from my iPhone > On Jul 24, 2019, at 2:57 PM, Andreas Mueller wrote: > > scoring is not a parameter. > It needs to be passed to GridSearchCV > > selfCLF =GridSearchCV(GradientBoostingClassifier(), parameters, versose = 3m

Re: [scikit-learn] question using GridSearchCV

2019-07-24 Thread Andreas Mueller
scoring is not a parameter. It needs to be passed to GridSearchCV selfCLF =GridSearchCV(GradientBoostingClassifier(), parameters, versose = 3m n_jobs = 4), scoring='roc_auc') On 7/24/19 1:24 PM, Glenn Schultz via scikit-learn wrote: I am using GBClassifier, the below works if I use the defau

[scikit-learn] question using GridSearchCV

2019-07-24 Thread Glenn Schultz via scikit-learn
I am using GBClassifier, the below works if I use the default accuracy but it fails using roc_auc or roc_auc_score. I have found many examples to work with but for the life of me I can’t get it two work with roc_auc. What am I doing wrong. from sklearn.ensemble import GradientBoostingClassifi