About 1,000,000 results
Open links in new tab
  1. python - What is the difference between xgb.train and …

    Nov 7, 2017 · What is the difference between xgb.train and xgb.XGBRegressor (or xgb.XGBClassifier)? Asked 8 years, 1 month ago Modified 3 years, 3 months ago Viewed 28k …

  2. understanding python xgboost cv - Stack Overflow

    Dec 26, 2015 · I would like to use the xgboost cv function to find the best parameters for my training data set. I am confused by the api. How do I find the best parameter? Is this similar to …

  3. machine learning - xgboost in R: how does xgb.cv pass the optimal ...

    I've been exploring the xgboost package in R and went through several demos as well as tutorials but this still confuses me: after using xgb.cv to do cross validation, how does the optimal …

  4. Multiclass classification with xgboost classifier? - Stack Overflow

    Sep 18, 2019 · I am trying out multi-class classification with xgboost and I've built it using this code, clf = xgb.XGBClassifier(max_depth=7, n_estimators=1000) clf.fit(byte_train, y_train) …

  5. XGBoost Early Stopping Rounds - Stack Overflow

    Nov 14, 2024 · my code below keeps blowing up and I can't work out what is going on import optuna import xgboost as xgb from sklearn.model_selection import train_test_split from …

  6. python - What are different options for objective functions …

    Aug 22, 2017 · Apart from binary:logistic (which is the default objective function), is there any other built-in objective function that can be used in xbgoost.XGBClassifier ?

  7. XGBoost XGBClassifier Defaults in Python - Stack Overflow

    Jan 8, 2016 · I am attempting to use XGBoosts classifier to classify some binary data. When I do the simplest thing and just use the defaults (as follows) clf = xgb.XGBClassifier() …

  8. XGBoost Learning to Rank with XGBClassifier - Cross Validated

    Jan 19, 2024 · I've asked about this on the XGBoost forum, but also wondered if anyone here had any insight into whether using XGBClassifier with objective='rank:map' is actually equivalent to …

  9. metric - XGBClassifier and XGBRegressor - Cross Validated

    1) Should XGBClassifier and XGBRegressor always be used for classification and regression respectively? 2) Why does objective ='reg:linear' option even exist for XGBClassifier? …

  10. XGBoost produce prediction result and probability

    Apr 7, 2020 · I am probably looking right over it in the documentation, but I wanted to know if there is a way with XGBoost to generate both the prediction and probability for the results? In …