About 4,430,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. 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: …

  6. 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, …

  7. XGBoost - Poisson distribution with varying exposure / offset

    At least with the glm function in R, modeling count ~ x1 + x2 + offset(log(exposure)) with family=poisson(link='log') is equivalent to modeling I(count/exposure) ~ x1 + x2 with …

  8. ImportError: No module named xgboost - Stack Overflow

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

  9. How can I implement incremental training for xgboost?

    Jun 28, 2016 · 22 I created a gist of jupyter notebook to demonstrate that xgboost model can be trained incrementally. I used boston dataset to train the model. I did 3 experiments - one shot …

  10. python - What is the use of DMatrix? - Stack Overflow

    Nov 26, 2021 · When using the XGBoost Python package you can choose between two different APIs to train your model. XGB's own Learning API and the Scikit-Learn API. When using the …