Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos in XGBoost Random Forest #21

Open
Offroadpia opened this issue Oct 28, 2024 · 0 comments
Open

Typos in XGBoost Random Forest #21

Offroadpia opened this issue Oct 28, 2024 · 0 comments

Comments

@Offroadpia
Copy link

viz = validation_curve(xgb.XGBClassifier(random_state=42),
x=pd.concat([X_train, X_test], axis='index'),
y=np.concatenate([y_train, y_test]),
param_name='n_estimators', param_range=range(1, 100, 2),
scoring='accuracy', cv=3,
ax=ax)

  1. Minor obvious typo: x -> X
  2. XGBClassifier-> XGBRFClassifier. This also explains the issue Seed for XGBoost for Random Forest in section 8.3  #7 reported earlier
@Offroadpia Offroadpia changed the title Typos in XGBoost Random Fores Typos in XGBoost Random Forest Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant