> ## Documentation Index
> Fetch the complete documentation index at: https://nixtlaverse.nixtla.io/llms.txt
> Use this file to discover all available pages before exploring further.

> spark LightGBM forecaster

# SparkLGBMForecast

Wrapper of `synapse.ml.lightgbm.LightGBMRegressor` that adds an
`extract_local_model` method to get a local version of the trained model
and broadcast it to the workers.

### `SparkLGBMForecast`

Bases: <code>[LightGBMRegressor](#synapse.ml.lightgbm.LightGBMRegressor)</code>

#### `SparkLGBMForecast.extract_local_model`

```python theme={null}
extract_local_model(trained_model)
```


## Related topics

- [Quick start (distributed)](/mlforecast/docs/getting-started/quick_start_distributed.html.md)
- [SparkXGBForecast](/mlforecast/distributed.models.spark.xgb.html.md)
- [StatsForecast ETS and Facebook Prophet on Spark (M5)](/statsforecast/docs/experiments/prophet_spark_m5.html.md)
- [Spark](/statsforecast/docs/distributed/spark.html.md)
- [Dask](/statsforecast/docs/distributed/dask.html.md)
