> For the complete documentation index, see [llms.txt](https://docs.sov.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sov.ai/api-reference/extensions/shapley-importance.md).

# Shapley Importance

**Module:** `sovai.extensions.shapley_importance`

## Functions

### `hash_of_df()`

```python
def hash_of_df(df, sample_size = 100)
```

***

### `simulation_task()`

```python
def simulation_task(df, i, clustering_method, kmeans_random_state, lgbm_random_state)
```

***

### `run_simulations_frame()`

```python
def run_simulations_frame(df, num_simulations = 4, clustering_method = 'KMEANS')
```

***
