> ## 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.

# SparkLGBMForecast

> spark LightGBM forecaster

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: `LightGBMRegressor`

#### `SparkLGBMForecast.extract_local_model`

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


## Related topics

- [Quick start (distributed)](https://nixtlaverse.nixtla.io/mlforecast/docs/getting-started/quick_start_distributed.html.md)
- [SparkXGBForecast](https://nixtlaverse.nixtla.io/mlforecast/distributed.models.spark.xgb.html.md)
- [StatsForecast ETS and Facebook Prophet on Spark (M5)](https://nixtlaverse.nixtla.io/statsforecast/docs/experiments/prophet_spark_m5.html.md)
- [Spark](https://nixtlaverse.nixtla.io/statsforecast/docs/distributed/spark.html.md)
- [Distributed Forecast](https://nixtlaverse.nixtla.io/mlforecast/distributed.forecast.html.md)
