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

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

  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. ImportError: No module named xgboost - Stack Overflow

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

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

  7. Invalid classes inferred from unique values of `y`. Expected: [0 1 2 3 ...

    Apr 25, 2022 · It's because the y_train must be encoded in a newer update XGBoost model before training it, i.e., you must use some categorical transformation like label encoders: from …

  8. 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

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

  10. python - xgboost.fit () vs. xgboost.train () - Stack Overflow

    Jul 30, 2022 · xgboost.train() is for global configuration object right? and xgboost.fit() here xgboost is instance of some regression or classification class. And if not please point towards …