> 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/core-kshape.md).

# Core Kshape

**Module:** `sovai.extensions.core_kshape`

## Functions

### `zscore()`

```python
def zscore(a, axis = 0, ddof = 0)
```

***

### `roll_zeropad()`

```python
def roll_zeropad(a, shift, axis = None)
```

***

### `collect_shift()`

```python
def collect_shift(data)
```

***

### `kshape()`

```python
def kshape(x, k, centroid_init = 'zero', max_iter = 100)
```

***
