About 6,590,000 results
Open links in new tab
  1. How to get feature importance in xgboost? - Stack Overflow

    Jun 4, 2016 · 20 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 …

  2. 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?

  3. XGBClassifier.fit() got an unexpected keyword argument …

    Jul 5, 2024 · My code is as follows: from sklearn.model_selection import train_test_split from xgboost import XGBClassifier import pandas as pd RANDOM_STATE = 55 ## You will pass it …

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

  5. Newest 'xgboost' Questions - Stack Overflow

    Nov 14, 2025 · Time series patient visits for XGBoost classifier I’m developing a tree-based model classifier (XGBoost) using some healthcare (patient visits) data. The data has a time …

  6. ImportError: No module named xgboost - Stack Overflow

    ImportError: No module named 'xgboost.xgbclassifier', I tried using your command, it returned this.

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

  9. XGBoost for multiclassification and imbalanced data

    Jun 7, 2021 · sample_weight parameter is useful for handling imbalanced data while using XGBoost for training the data. You can compute sample weights by using …

  10. How to adjust probability threhold in XGBoost classifier when …

    Apr 10, 2019 · I have a question about xgboost classifier with sklearn API. It seems it has a parameter to tell how much probability should be returned as True, but i can't find it. Normally, …