About 7,210,000 results
Open links in new tab
  1. python - XGBoost CV and best iteration - Stack Overflow

    Nov 9, 2016 · I am using XGBoost cv to find the optimal number of rounds for my model. I would be very grateful if someone could confirm (or refute), the optimal number of rounds is: estop = …

  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: sample_Weights vs scale_pos_weight - Stack Overflow

    Jan 3, 2018 · The sample_weight parameter allows you to specify a different weight for each training example. The scale_pos_weight parameter lets you provide a weight for an entire …

  4. multioutput regression by xgboost - Stack Overflow

    Apr 28, 2023 · 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. The loss function and evaluation metric of XGBoost

    Nov 29, 2018 · I am confused now about the loss functions used in XGBoost. Here is how I feel confused: we have objective, which is the loss function needs to be minimized; eval_metric: …

  6. python - Feature importance 'gain' in XGBoost - Stack Overflow

    I wonder if xgboost also uses this approach using information gain or accuracy as stated in the citation above. I've tried to dig in the code of xgboost and found out this method (already cut …

  7. scikit learn - XGBoost: Early stopping on default metric, not ...

    Feb 17, 2020 · I am using XGBoost 0.90. I wish to train a XGBoost regression models, with Python, using a built-in learning objective with early stopping on a built-in evaluation metric. …

  8. python - Plot a Single XGBoost Decision Tree - Stack Overflow

    1 According to the artcile 4 ways to visualize tree from Xgboost there are following ways to visualize single tree from Xgboost: using matplotlib and xgboost.plot_tree() package, export to …

  9. ImportError: No module named xgboost - Stack Overflow

    When I tried import from python terminal I get this error, although I followed all the steps to install xgboost, somehow python is unable to get the package details.I am relatively new to python, I...

  10. What does the value of 'leaf' in the following xgboost model tree ...

    Dec 2, 2016 · For a classification tree with 2 classes {0,1}, the value of the leaf node represent the raw score for class 1. It can be converted to a probability score by using the logistic function. …

Refresh