About 1,400,000 results
Open links in new tab
  1. XGBoost Categorical Variables: Dummification vs encoding

    Dec 14, 2015 · "When using XGBoost we need to convert categorical variables into numeric." Not always, no. If booster=='gbtree' (the default), then XGBoost can handle categorical variables …

  2. How to get feature importance in xgboost? - Stack Overflow

    Jun 4, 2016 · Furthermore, we can plot the importances with XGboost built-in function plot_importance(model, max_num_features = 15) pyplot.show() use max_num_features in …

  3. python - XGBoost CV and best iteration - Stack Overflow

    Nov 9, 2016 · I am using XGBoost cv to find the optimal number of rounds for my model. I would be very grateful if someone could confirm (or refute), the optimal number of rounds is: estop = …

  4. multioutput regression by xgboost - Stack Overflow

    Apr 28, 2023 · Is it possible to train a model by xgboost that has multiple continuous outputs (multi-regression)? What would be the objective of training such a model? Thanks in advance …

  5. XGBOOST: sample_Weights vs scale_pos_weight - Stack Overflow

    Jan 3, 2018 · The sample_weight parameter allows you to specify a different weight for each training example. The scale_pos_weight parameter lets you provide a weight for an entire …

  6. The meaning of score method in xgboost - Stack Overflow

    Aug 11, 2022 · The meaning of score method in xgboost Asked 2 years, 10 months ago Modified 2 years, 10 months ago Viewed 6k times

  7. python - Feature importance 'gain' in XGBoost - Stack Overflow

    I wonder if xgboost also uses this approach using information gain or accuracy as stated in the citation above. I've tried to dig in the code of xgboost and found out this method (already cut …

  8. Cannot import xgboost in Jupyter notebook - Stack Overflow

    Jul 1, 2017 · Within Jupyter Notebook cell, try running: import sys !{sys.executable} -m pip install xgboost This allows the package to be installed with right on Jupyter notebook.

  9. Multiclass classification with xgboost classifier? - Stack Overflow

    Sep 18, 2019 · Multiclass classification with xgboost classifier? Asked 5 years, 9 months ago Modified 5 years ago Viewed 97k times

  10. scikit learn - XGBoost: Early stopping on default metric, not ...

    Feb 17, 2020 · I am using XGBoost 0.90. I wish to train a XGBoost regression models, with Python, using a built-in learning objective with early stopping on a built-in evaluation metric. …

Refresh