About 7,550,000 results
Open links in new tab
  1. 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 …

  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. 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. 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? Thanks in advance …

  5. How to check if XGBoost uses the GPU - Stack Overflow

    Dec 28, 2021 · For XGBoost I've so far checked it by looking at GPU utilization (nvdidia-smi) while running my software. But how can I check this in a simple test? Something similar to the test I …

  6. Converting XGBoost Shapely values to SHAP's Explanation object

    Jan 11, 2024 · 2 I am trying to convert XGBoost shapely values into an SHAP explainer object. Using the example [here] [1] with the built in SHAP library takes days to run (even on a …

  7. 'super' object has no attribute '__sklearn_tags__'

    Dec 18, 2024 · I suspect it could be related to compatibility issues between Scikit-learn and XGBoost or Python version. I am using Python 3.12, and both Scikit-learn and XGBoost are …

  8. ImportError: No module named xgboost - Stack Overflow

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

  9. XGBoost for multiclassification and imbalanced data

    Jun 7, 2021 · XGBoost for multiclassification and imbalanced data Asked 4 years, 4 months ago Modified 3 years, 2 months ago Viewed 27k times

  10. XGBoost - Poisson distribution with varying exposure / offset

    I am trying to use XGBoost to model claims frequency of data generated from unequal length exposure periods, but have been unable to get the model to treat the exposure correctly. I …