> ## 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)
```
