About 50 results
Open links in new tab
  1. multioutput regression by xgboost - Stack Overflow

    Sep 16, 2016 · 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?

  2. How to get the list of features which are actually used by XGBoost

    Apr 17, 2023 · The correct approach would be to traverse XGBoost tree data structure, and collect node split indices (which correspond to column indices in your training dataset). If your model config is …

  3. 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 …

  4. 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 my case, I am …

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

    Jun 4, 2016 · 19 According to this post there 3 different ways to get feature importance from Xgboost: use built-in feature importance, use permutation based importance, use shap based importance. …

  6. python - XGBoost GPU version not outperforming CPU on small …

    May 2, 2025 · I'm currently working on a parallel and distributed computing project where I'm comparing the performance of XGBoost running on CPU vs GPU. The goal is to demonstrate how GPU …

  7. Cannot import xgboost in Jupyter notebook - Stack Overflow

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

  8. How to install xgboost package in python (windows platform)?

    Nov 17, 2015 · File "xgboost/libpath.py", line 44, in find_lib_path 'List of candidates:\n' + ('\n'.join(dll_path))) __builtin__.XGBoostLibraryNotFound: Cannot find XGBoost Libarary in the …

  9. Shap summary plots for XGBoost with categorical data inputs

    Mar 31, 2023 · XGBoost supports inputting features as categories directly, which is very useful when there are a lot of categorical variables. This doesn't seem to be compatible with Shap: import pandas …

  10. Custom loss function in XGBoost - Stack Overflow

    Mar 9, 2025 · I would like to create a custom loss function for the "reg:pseudohubererror" objective in XGBoost. However, I am noticing a discrepancy between the results produced by the default …