About 50 results
Open links in new tab
  1. python - Feature importance using lightgbm - Stack Overflow

    Nov 21, 2018 · 8 Depending on whether we trained the model using scikit-learn or lightgbm methods, to get importance we should choose respectively feature_importances_ property or …

  2. python - Lightgbm classifier with gpu - Stack Overflow

    Feb 23, 2020 · model = lgbm.LGBMClassifier( n_estimators=1250, num_leaves=128, learning_rate=0.009, verbose=1 ) Using the LGBM classifier, is there a way to use this with GPU …

  3. How to use GPU to train LGBM model from SynapseML

    May 28, 2025 · For e.g. for the plain LightGBM library, there is an attribute called device_type which can be set to cude by device_type="cuda" but there is no such thing for the SynapseML flavor of the …

  4. Use 'predict_contrib' in LightGBM to get SHAP-values

    Nov 11, 2020 · In the LightGBM documentation it is stated that one can set predict_contrib=True to predict the SHAP-values. How do we extract the SHAP-values (apart from using the shap package)? …

  5. python - How to apply LGBM model predict over a Pyspark Dataframe …

    I have a LGBM model packed in a pickle file. This model expects 15 features, 3 of them categoric in character format (2 of them have numbers values but they aren't ordinal). For example: Categorical

  6. python - Why can't I wrap LGBM? - Stack Overflow

    Dec 31, 2024 · I'm using LGBM to forecast the relative change of a numerical quantity. I'm using the MSLE (Mean Squared Log Error) loss function to optimize my model and to get the correct scaling of …

  7. machine learning - How to save to disk / export a lightgbm ...

    Mar 17, 2019 · Hi I am unable to find a way to save a lightgbm.LGBMRegressor model to a file for later re-use.

  8. How to Extract LGBM Model Rules of Prediction (Coefficients)

    Jul 15, 2023 · How can I extract LightGBM model coefficients, rules of prediction by features? I am in insurance industry. This is absolutely necessary for strict regulatory requirements. Something like a …

  9. python - GridSearch LightGBM with GPU - Stack Overflow

    Jun 21, 2018 · To set it to 'gpu', you can configure GPU-based LGBM. A couple of community members have demonstrated how to do that here and here. The second resource also has something called …

  10. python LightGBM reproductibility issue - Stack Overflow

    Dec 9, 2019 · I am running a lightGBM on a classification problem, with crossvalidation (using sklearn) to get the optimal hyper parameters values. Although I specified the random_state when create the …