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

# Anomalies

**Module:** `sovai.extensions.anomalies`

## Functions

### `estimate_rank()`

```python
def estimate_rank(tensor_data, explained_var_threshold = 0.95)
```

Estimate rank for each mode based on explained variance.

**Parameters**

| Parameter                 | Type | Description     |
| ------------------------- | ---- | --------------- |
| `tensor_data`             | —    | —               |
| `explained_var_threshold` | —    | Default: `0.95` |

***
