Back to Mlflow

XGBoost Scikit-learn Model Example

examples/lightgbm/lightgbm_sklearn/README.md

3.12.0525 B
Original Source

XGBoost Scikit-learn Model Example

This example trains an LightGBM.LGBMClassifier with the diabetes dataset and logs hyperparameters, metrics, and trained model.

Like the other LightGBM example, we enable autologging for LightGBM scikit-learn models via mlflow.lightgbm.autolog(). Saving / loading models also supports LightGBM scikit-learn models.

You can run this example using the following command:

shell
python train.py