Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about xgbclassifier

Read more about xgbclassifier

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)

Questions - xgbclassifier

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...
test-img

abrahamdaniels

python

pipeline

gridsearchcv

xgbclassifier

Votes: 0

Answers: 1

Latest Answer

You are referring to your classifier as xgb when that variable isn't declared anywhere. The correct way to specify the params is to use classifier__ prefix since that's how you refer to XGBoostClassif...
test-img

LemurPwned

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved