LightGBM

LightGBM Predict

Compute predictions with LightGBM on new data.

lightgbmpredict

Required packages

You need below packages to use the code generated by recipe. All packages are automatically installed in MLJAR Studio.

lightgbm>=4.5.0

Interactive recipe

You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.

In the below recipe, we assume that you have following variables available in your notebook:

  • my_lightgbm (type LGBMClassifier)
  • my_regressor (type LGBMRegressor)
  • X (type DataFrame)

Python code

# Python code will be here
« Previous
Train LightGBM